Modifiche per il documento Relatori
Dalla versione 81.1
modificato da Andrea Omicini
il 09/03/2022 23:37
il 09/03/2022 23:37
Cambia il commento:
Nessun commento per questa versione
Alla versione 82.2
modificato da Andrea Omicini
il 15/03/2022 16:25
il 15/03/2022 16:25
Cambia il commento:
Nessun commento per questa versione
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -36,12 +36,10 @@ 36 36 #end 37 37 #if( $userSelected ) 38 38 >{{stringEngIta eng = "Theses" ita = "Tesi" /}} / **$userFirstName $userLastName** 39 - 40 40 #set( $from = ", BaseObject as obj0, StringProperty as prop0, LargeStringProperty as prop1, LargeStringProperty as prop2, LargeStringProperty as prop3" ) 41 41 #set( $where = "obj0.name = doc.fullName and obj0.className = 'Theses.ThesisClass' and obj0.name <> 'Theses.ThesisTemplate' and prop0.id.id = obj0.id and prop1.id.id = obj0.id and prop2.id.id = obj0.id and prop3.id.id = obj0.id and prop0.name = 'status' and lower(prop0.value) = 'completed' and prop1.name = 'supervisors' and prop2.name = 'cosupervisors' and prop3.name = 'contacts' and ( prop1.value like '%$userName%' or prop2.value like '%$userName%' or prop3.value like '%$userName%' )" ) 42 42 #else 43 43 >{{stringEngIta eng="Theses" ita="Tesi" /}} 44 - 45 45 #set( $from = ", BaseObject as obj0, StringProperty as prop0" ) 46 46 #set( $where = "obj0.name = doc.fullName and obj0.className = 'Theses.ThesisClass' and obj0.name <> 'Theses.ThesisTemplate' and prop0.id.id = obj0.id and prop0.name = 'status' and lower(prop0.value) = 'completed'" ) 47 47 #end ... ... @@ -93,7 +93,7 @@ 93 93 #end 94 94 #set( $sql = $from + " where " + $where ) 95 95 #set( $thesisFound = $xwiki.searchDocuments($sql) ) 96 - #set( $thesisFoundNo = $thesisFound.size() ) 94 + #set( $thesisFoundNo = $thesisFound.size() ) 97 97 >$thesisFoundNo #if( $thesisFoundNo == 1 ){{stringEngIta eng = "Thesis" ita = "tesi" /}}#else{{stringEngIta eng = "Theses" ita = "tesi" /}}#end#if( $request.user ) / **$userFirstName $userLastName**#end 98 98 ## show tag 99 99 (((