Changes for page Supervisors
From version 96.1
edited by Andrea Omicini
on 30/06/2023 00:27
on 30/06/2023 00:27
Change comment:
There is no comment for this version
To version 98.2
edited by Andrea Omicini
on 30/06/2023 00:35
on 30/06/2023 00:35
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -#if($request.tag)$services.localization.render(' author').toLowerCase() : $xwiki.getUserName($request.tag,false)#else$services.localization.render('supervisors')#end1 +#if($request.tag)$services.localization.render('supervisor').toLowerCase() : $xwiki.getUserName($request.tag,false)#else$services.localization.render('supervisors')#end - Default language
-
... ... @@ -1,1 +1,0 @@ 1 -en - Content
-
... ... @@ -1,17 +1,14 @@ 1 1 {{velocity}} 2 2 {{html clean="false" wiki="true"}} 3 -#template('apice_ publications.vm')3 +#template('apice_theses.vm') 4 4 #template('apice_user_param.vm') 5 5 ## 6 6 #### tag parameter possibly brings name to be used as tag 7 7 #if( !$request.tag ) 8 8 ## no tag parameter --> just the cloud 9 -#if( !$request.tag ) 10 -## subtitle 11 ->{{stringEngIta eng="$objectEngPlural" ita= "$objectItaPlural"/}}#if( $oneUser ) / $userFirstName $userLastName#{end} 12 12 ## set query 13 - #set( $query = ", BaseObject as obj, LargeStringProperty as prop 0, StringProperty as prop1, DateProperty as prop214 - where obj.name = doc.fullName and obj.className = '${objectSpace}.${objectClass}' and obj.name <> '${objectSpace}.${objectTemplate}' and prop 0.id.id = obj.id and prop1.id.id = obj.id and prop2.id.id = obj.id and prop0.name = 'supervisors' and prop0.value <> '' and prop1.name = 'status' and lower(prop1.value) = 'completed' and prop2.name = 'end' order by prop2.value desc" )10 + #set( $query = ", BaseObject as objThesis, LargeStringProperty as propSupervisors, StringProperty as propStatus, DateProperty as propEnddate 11 + where objThesis.name = doc.fullName and objThesis.className = '${objectSpace}.${objectClass}' and objThesis.name <> '${objectSpace}.${objectTemplate}' and propSupervisors.id.id = objThesis.id and propStatus.id.id = objThesis.id and prop2.id.id = objThesis.id and propSupervisors.name = 'supervisors' and propSupervisors.value <> '' and propStatus.name = 'status' and lower(propStatus.value) = 'completed' and propEnddate.name = 'end' order by propEnddate.value desc" ) 15 15 ## execute query 16 16 #set( $itemFound = $xwiki.searchDocuments($query) ) 17 17 #set( $itemFoundNo = $itemFound.size() ) ... ... @@ -65,8 +65,8 @@ 65 65 #### YES TAG PARAMETER 66 66 #else 67 67 ## set query 68 - #set( $query = ", BaseObject as obj, LargeStringProperty as prop 0, StringProperty as prop1, DateProperty as prop269 - where obj.name = doc.fullName and obj.className = '${objectSpace}.${objectClass}' and obj.name <> '${objectSpace}.${objectTemplate}' and prop 0.id.id = obj.id and prop1.id.id = obj.id and prop2.id.id = obj.id and prop0.name = 'supervisors' and prop0.value like '%$request.tag%' and prop1.name = 'status' and lower(prop1.value) = 'completed' and prop2.name = 'end' order by prop2.value desc" )65 + #set( $query = ", BaseObject as objThesis, LargeStringProperty as propSupervisors, StringProperty as propStatus, DateProperty as propEnddate 66 + where objThesis.name = doc.fullName and objThesis.className = '${objectSpace}.${objectClass}' and objThesis.name <> '${objectSpace}.${objectTemplate}' and propSupervisors.id.id = objThesis.id and propStatus.id.id = objThesis.id and propEnddate.id.id = objThesis.id and propSupervisors.name = 'supervisors' and propSupervisors.value like '%$request.tag%' and propStatus.name = 'status' and lower(propStatus.value) = 'completed' and propEnddate.name = 'end' order by propEnddate.value desc" ) 70 70 ## execute query 71 71 #set( $itemFound = $xwiki.searchDocuments($query) ) 72 72 #set( $itemFoundNo = $itemFound.size() )