Modifiche per il documento Tutti i corsi
Dalla versione 13.2
modificato da Andrea Omicini
il 26/07/2023 06:24
il 26/07/2023 06:24
Cambia il commento:
Nessun commento per questa versione
Alla versione 15.1
modificato da Andrea Omicini
il 26/07/2023 06:36
il 26/07/2023 06:36
Cambia il commento:
Nessun commento per questa versione
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,7 +4,7 @@ 4 4 #objectspace() 5 5 #template('apice_course_macros.vm') 6 6 ## query 7 -#set( $query = ", BaseObject as objCourse, StringProperty as propAY where objCourse.name = doc.fullName and objCourse.className = '${mainSpace}.Class' and objCourse.name <> '${objectPool}. Class' and propAY.id.id = objCourse.id and propAY.name = 'ay' order by propAY.value desc")7 +#set( $query = ", BaseObject as objCourse, StringProperty as propAY where objCourse.name = doc.fullName and objCourse.className = '${mainSpace}.Class' and objCourse.name <> '${objectPool}.Template.WebHome' and propAY.id.id = objCourse.id and propAY.name = 'ay' order by propAY.value desc") 8 8 #set( $itemFound = $xwiki.searchDocuments($query) ) 9 9 ## how many items found? 10 10 #set( $itemNo = $itemFound.size() )