Changes for page Per Year

From version 20.11
edited by Andrea Omicini
on 25/10/2021 17:15
Change comment: There is no comment for this version
To version 20.13
edited by Andrea Omicini
on 25/10/2021 17:18
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -172,7 +172,9 @@
172 172   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 prop0.value = '$selectedStatus' order by prop1.value desc" )
173 173   #end
174 174  #end
175 +$sql
175 175  #set( $thesisFound = $xwiki.searchDocuments($sql) )
177 +$thesisFound.size()
176 176  ##
177 177  #foreach ($thesis in $thesisFound)#set($thesisDoc = $xwiki.getDocument($thesis))
178 178  ##* #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