Changes for page Per A.Y.
From version 41.2
edited by Andrea Omicini
on 22/07/2022 16:43
on 22/07/2022 16:43
Change comment:
There is no comment for this version
To version 41.1
edited by Andrea Omicini
on 21/01/2022 23:14
on 21/01/2022 23:14
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 -= {{italiano}} Per A.A.{{/italiano}}{{english}}Per A.Y.{{/english}} =1 += {{italiano}}Corsi per A.A.{{/italiano}}{{english}}Courses per A.Y.{{/english}} = 2 2 3 3 {{include reference="Courses.Environment" excludeFirstHeading="true"/}}{{velocity}} 4 4 #set( $courseMenu = true ) ... ... @@ -116,7 +116,7 @@ 116 116 #set( $courseNo = 0 ) 117 117 #foreach( $yearr in $yearList)#set($yearr1 = $yearr + 1)#set($ayearr = $yearr + "/" + $yearr1 ) 118 118 #set ($sql = ", BaseObject as obj, StringProperty as prop, LargeStringProperty as prop1, LargeStringProperty as prop2, LargeStringProperty as prop3, StringProperty as prop4 119 - where obj.name = doc.fullName and obj.className = ' ${objectSpace}.${objectClass}' and obj.name <> '${objectSpace}.${objectTemplate}' 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 ")119 + 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 ") 120 120 #set( $courseFound = $xwiki.searchDocuments($sql) ) 121 121 #set( $courseYearNo = $courseFound.size() ) 122 122 #if( $$courseYearNo >0 )