Changes for page All Courses
From version 12.1
edited by Andrea Omicini
on 26/07/2023 06:23
on 26/07/2023 06:23
Change comment:
There is no comment for this version
To version 15.1
edited by Andrea Omicini
on 26/07/2023 06:36
on 26/07/2023 06:36
Change comment:
There is no comment for this version
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() ) ... ... @@ -20,9 +20,7 @@ 20 20 ## header end 21 21 ## display items separated by dots / start 22 22 #foreach( $item in $itemFound ) 23 - #if( !$foreach.first ) 24 - <span class="menumainbody"> • </span> 25 - #end 23 + #if( !$foreach.first )<span class="menumainbody"> • </span>#end 26 26 #courselinked($item) 27 27 #end 28 28 ## display items separated by dots / end