Changes for page Per A.Y.
From version 38.2
edited by Andrea Omicini
on 21/01/2022 00:21
on 21/01/2022 00:21
Change comment:
There is no comment for this version
To version 37.1
edited by Andrea Omicini
on 28/11/2021 01:28
on 28/11/2021 01:28
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,4 +1,4 @@ 1 -{{include reference="Courses.Environment" excludeFirstHeading="true"/}}{{include reference="Environment"excludeFirstHeading="true"/}}{{velocity}}1 +{{include reference="Courses.Environment"/}}{{include reference="Environment"/}}{{velocity}} 2 2 #set( $courseMenu = true ) 3 3 #set( $currentCourseDoc = "" ) 4 4 #### get parameters ... ... @@ -112,7 +112,7 @@ 112 112 #set( $courseNo = 0 ) 113 113 #foreach( $yearr in $yearList)#set($yearr1 = $yearr + 1)#set($ayearr = $yearr + "/" + $yearr1 ) 114 114 #set ($sql = ", BaseObject as obj, StringProperty as prop, LargeStringProperty as prop1, LargeStringProperty as prop2, LargeStringProperty as prop3, StringProperty as prop4 115 - where obj.name = doc.fullName and obj.className = 'Courses.CourseClass' and obj.name <> 'Courses.CourseTemplate' and prop.id.id = obj.id and prop1.id.id = obj.id and prop2.id.id = obj.id and prop3.id.id = obj.id and prop4.id.id = obj.id and prop.name = 'ay' and prop1.name = 'professor' and prop2.name = 'otherProfessors' and prop3.name = 'tutors' and prop4.name = '$sortField' and prop.value = '$ ayearr' and ( prop1.value like '%$professorName%' or prop2.value like '%$professorName%' or prop3.value like '%$tutorName%' ) order by prop4.value asc ")115 + where obj.name = doc.fullName and obj.className = 'Courses.CourseClass' and obj.name <> 'Courses.CourseTemplate' and prop.id.id = obj.id and prop1.id.id = obj.id and prop2.id.id = obj.id and prop3.id.id = obj.id and prop4.id.id = obj.id and prop.name = 'ay' and prop1.name = 'professor' and prop2.name = 'otherProfessors' and prop3.name = 'tutors' and prop4.name = '$sortField' and prop.value = '$yearr' and ( prop1.value like '%$professorName%' or prop2.value like '%$professorName%' or prop3.value like '%$tutorName%' ) order by prop4.value asc ") 116 116 #set( $courseFound = $xwiki.searchDocuments($sql) ) 117 117 #set( $courseYearNo = $courseFound.size() ) 118 118 #if( $$courseYearNo >0 )