Changes for page Per Year
From version 25.1
edited by Andrea Omicini
on 25/10/2021 17:52
on 25/10/2021 17:52
Change comment:
There is no comment for this version
To version 26.2
edited by Andrea Omicini
on 25/10/2021 17:54
on 25/10/2021 17:54
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -126,13 +126,11 @@ 126 126 #else 127 127 ## no user selected, no role selected 128 128 #set ($sql = ", BaseObject as obj, StringProperty as prop0, DateProperty as prop1 129 - where obj.name = doc.fullName and obj.className = 'Theses.ThesisClass' and obj.name <> 'Theses.ThesisClassTemplate' and obj.name <> 'Theses.ThesisTemplate' and prop0.id.id = obj.id and prop1.id.id = obj.id and lower(prop0.value)= 'status' and prop1.name = '$orderingDateFieldName' and prop0.value = '$status' order by prop1.value desc" )129 + where obj.name = doc.fullName and obj.className = 'Theses.ThesisClass' and obj.name <> 'Theses.ThesisClassTemplate' and obj.name <> 'Theses.ThesisTemplate' and prop0.id.id = obj.id and prop1.id.id = obj.id and prop0.name = 'status' and prop1.name = '$orderingDateFieldName' and lower(prop0.value) = '$status' order by prop1.value desc" ) 130 130 #end 131 131 #end 132 - $sql 133 133 #set( $thesisFound = $xwiki.searchDocuments($sql) ) 134 134 #set( $thesisFoundNo = $thesisFound.size() ) 135 - $thesisFoundNo 136 136 ## 137 137 #foreach ($thesis in $thesisFound)#set($thesisDoc = $xwiki.getDocument($thesis)) 138 138 * [[$thesisDoc.getValue("title")>>$thesisDoc]]#thesisTitleLink($thesis)#if( $thesisDoc.getValue("studentUserName") != "" || $thesisDoc.getValue("studentName") != "" || ( $thesisDoc.getValue("studentFirstName") != "" && $thesisDoc.getValue("studentLastName") != "" ) ) //(#thesisAuthorLink($thesis)#if( $thesisDoc.display("endDate") != "" ), #thesisYear($thesis)#end)//#end