Modifiche per il documento Per anno

Dalla versione 118.2
modificato da Andrea Omicini
il 30/10/2021 18:18
Cambia il commento: Nessun commento per questa versione
Alla versione 118.1
modificato da Andrea Omicini
il 30/10/2021 18:14
Cambia il commento: Nessun commento per questa versione

Summary

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 )