Changes for page All Theses

From version 4.1
edited by Andrea Omicini
on 22/07/2022 15:46
Change comment: There is no comment for this version
To version 3.2
edited by Andrea Omicini
on 08/12/2021 01:56
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,7 +1,7 @@
1 1  ={{stringEngIta eng="All Theses in " ita="Tutti le tesi in "/}}{{apice/}}=
2 2  
3 3  {{velocity}}
4 -#set( $sql = ", BaseObject as obj, DateProperty as prop where obj.name = doc.fullName and obj.className = '${objectSpace}.${objectClass}' and obj.name <> '${objectSpace}.${objectTemplate}' and prop.id.id = obj.id and prop.name = 'endDate' order by prop.value desc" )
4 +#set( $sql = ", BaseObject as obj, DateProperty as prop where obj.name = doc.fullName and obj.className = 'Theses.ThesisClass' and obj.name <> 'Theses.ThesisTemplate' and prop.id.id = obj.id and prop.name = 'endDate' order by prop.value desc" )
5 5  #set( $thesesFound = $xwiki.searchDocuments($sql) )
6 6  #set( $thesisNo = $thesesFound.size() )
7 7  >**$thesisNo** {{stringEngIta eng='theses' ita='tesi'/}} in {{apice /}}