Changes for page Per Year

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

Summary

Details

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