Changes for page Per Year
From version 117.1
edited by Andrea Omicini
on 30/10/2021 17:45
on 30/10/2021 17:45
Change comment:
There is no comment for this version
To version 118.1
edited by Andrea Omicini
on 30/10/2021 18:14
on 30/10/2021 18:14
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -135,6 +135,7 @@ 135 135 #set ($sql = ", BaseObject as obj, StringProperty as prop0, DateProperty as prop1, StringProperty as prop2 136 136 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 prop2.id.id = obj.id and prop0.name = 'cycle' and prop1.name = 'endDate' and prop2.name = 'status' and prop0.value = '$cycle' and year(prop1.value) = '$year 'and prop2.value = 'Completed' order by prop1.value desc" ) 137 137 #end 138 + $sql 138 138 #set( $thesisFound = $xwiki.searchDocuments($sql) ) 139 139 #set( $thesisFoundNo = $thesisFound.size() ) 140 140 #set( $thesisYearCycleNo = $thesisYearCycleNo + $thesisFoundNo )