Changes for page Per Year

From version 161.1
edited by Andrea Omicini
on 02/07/2023 13:02
Change comment: There is no comment for this version
To version 161.2
edited by Andrea Omicini
on 02/07/2023 13:03
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -7,7 +7,7 @@
7 7  ## years / personal
8 8  #if( $isUserSpace )
9 9   #set( $query = ", BaseObject as objPersonalThesis, LargeStringProperty as propUser
10 - where objPersonalThesis.name = doc.fullName and objPersonalThesis.className = '${objectSpace}.Personal.${objectClass}' and propUser.id.id = objPersonalThesis.id and propUser.name = 'user' and propUser.value = '$userName' " )
10 + where objPersonalThesis.name = doc.fullName and objPersonalThesis.className = '${objectSpace}.Personal.Class' and propUser.id.id = objPersonalThesis.id and propUser.name = 'user' and propUser.value = '$userName' " )
11 11   #set( $personalThesisDocs = $xwiki.searchDocuments($query) )
12 12   #if( $personalThesisDocs.size() > 0 )
13 13   #set( $personalThesisDoc = $xwiki.getDocument($personalThesisDocs[0]) )