Modifiche per il documento Relatori
Dalla versione 108.1
modificato da Andrea Omicini
il 02/07/2023 13:43
il 02/07/2023 13:43
Cambia il commento:
Nessun commento per questa versione
Alla versione 111.1
modificato da Andrea Omicini
il 06/07/2023 19:17
il 06/07/2023 19:17
Cambia il commento:
Nessun commento per questa versione
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,13 +1,14 @@ 1 1 {{velocity}} 2 2 {{html clean="false" wiki="true"}} 3 -#template('apice_theses.vm') 4 -## 3 +#template('apice_macros.vm') 4 +#setobjectspace("Theses") 5 +#template('apice_thesis_macros.vm') 5 5 #### tag parameter possibly brings name to be used as tag 6 6 #if( !$request.tag ) 7 7 ## no tag parameter --> just the cloud 8 8 ## set query 9 9 #set( $query = ", BaseObject as objThesis, LargeStringProperty as propSupervisors, StringProperty as propStatus, DateProperty as propEnddate 10 - where objThesis.name = doc.fullName and objThesis.className = '${ objectSpace}.Class' and objThesis.name <> '${objectSpace}.Template' 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 <> '' and propStatus.name = 'status' and lower(propStatus.value) = 'completed' and propEnddate.name = 'end' order by propEnddate.value desc" )11 + where objThesis.name = doc.fullName and objThesis.className = '${mainSpace}.Class' and objThesis.name <> '${objectPool}.Template' 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 <> '' and propStatus.name = 'status' and lower(propStatus.value) = 'completed' and propEnddate.name = 'end' order by propEnddate.value desc" ) 11 11 ## execute query 12 12 #set( $itemFound = $xwiki.searchDocuments($query) ) 13 13 #set( $itemFoundNo = $itemFound.size() ) ... ... @@ -69,7 +69,7 @@ 69 69 ## 70 70 #### TAG PAGE / START 71 71 #set( $query = ", BaseObject as objThesis, LargeStringProperty as propSupervisors, StringProperty as propStatus, DateProperty as propEnddate 72 - where objThesis.name = doc.fullName and objThesis.className = '${ objectSpace}.Class' and objThesis.name <> '${objectSpace}.Template' 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" )73 + where objThesis.name = doc.fullName and objThesis.className = '${mainSpace}.Class' and objThesis.name <> '${objectPool}.Template' 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" ) 73 73 ## execute query 74 74 #set( $itemFound = $xwiki.searchDocuments($query) ) 75 75 #set( $itemNo = $itemFound.size() ) ... ... @@ -83,7 +83,6 @@ 83 83 #end 84 84 </div> 85 85 ## thesis list 86 - #template('apice_thesis_macros.vm') 87 87 #foreach( $item in $itemFound ) 88 88 <div> 89 89 [[image:icon:book]] #thesislinked($item)