Changes for page Per Year

From version 27.1
edited by Andrea Omicini
on 25/10/2021 17:54
Change comment: There is no comment for this version
To version 26.1
edited by Andrea Omicini
on 25/10/2021 17:53
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -129,8 +129,10 @@
129 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
132 132   #set( $thesisFound = $xwiki.searchDocuments($sql) )
133 133   #set( $thesisFoundNo = $thesisFound.size() )
135 + $thesisFoundNo
134 134  ##
135 135   #foreach ($thesis in $thesisFound)#set($thesisDoc = $xwiki.getDocument($thesis))
136 136  * [[$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