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 10.1
edited by Andrea Omicini
on 25/07/2023 15:06
on 25/07/2023 15:06
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 obj Course, StringProperty as propAYwhere 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 obj, StringProperty as prop where obj.name = doc.fullName and obj.className = '${mainSpace}.Class' and obj.name <> '${objectPool}.Class' and prop.id.id = obj.id and prop.name = 'ay' order by prop.value desc") 8 8 #set( $itemFound = $xwiki.searchDocuments($query) ) 9 9 ## how many items found? 10 10 #set( $itemNo = $itemFound.size() ) ... ... @@ -23,7 +23,7 @@ 23 23 #if( !$foreach.first ) 24 24 <span class="menumainbody"> • </span> 25 25 #end 26 - #courselinked($item)26 + {{course}}$item{{/course}} 27 27 #end 28 28 ## display items separated by dots / end 29 29 {{/html}}