Modifiche per il documento Tesi

Dalla versione 15.1
modificato da Andrea Omicini
il 11/12/2020 17:28
Cambia il commento: Nessun commento per questa versione
Alla versione 14.1
modificato da Andrea Omicini
il 11/12/2020 17:27
Cambia il commento: Nessun commento per questa versione

Summary

Details

Page properties
Content
... ... @@ -9,12 +9,10 @@
9 9  #set ( $where = "obj0.className='XWiki.TagClass' and obj0.name=doc.fullName and obj0.id=prop0.id.id and prop0.id.name='tags' and lower(item)=lower('$thesisTag') and obj1.name=doc.fullName and obj1.className='Theses.ThesisClass' and obj1.name<>'Theses.ThesisClassTemplate' and prop1.id.id=obj1.id and prop1.name = 'endDate' and prop2.id.id=obj1.id and prop2.name = 'status' and prop2.value = '$thesisStatus' order by prop1.value desc" )
10 10  #set ( $sql = $from + " where " + $where )
11 11  #set($thesisFound = $xwiki.searchDocuments($sql))
12 -#if ($thesisFound.size()>0)
13 13  #foreach ($thesis in $thesisFound)#set($thesisDoc = $xwiki.getDocument($thesis))
14 14  * [[$thesisDoc.getValue('title')>>$thesis]]
14 +#end
15 15  #end
16 -#end
17 -#end
18 18  {{/html}}
19 19  
20 20  

Logo