Modifiche per il documento Homeopaths

Ultima modifica di Jip-jan Alunkel il marzo 14, 20:13

Dalla versione 8.109
modificato da Jip-jan Alunkel
il dicembre 08, 20:19
Cambia il commento: Renamed from xwiki:practices.WebHome
Alla versione 8.115
modificato da Jip-jan Alunkel
il dicembre 08, 20:38
Cambia il commento: Renamed from xwiki:practices.WebHome

Summary

Details

Page properties
Content
... ... @@ -10,7 +10,8 @@
10 10  <p>
11 11  All about homeopaths.
12 12  ##from XWikiSpace as space where doc.space = space.reference and ((doc.name <> 'WebHome' and lower(doc.name) like '%wiki%') or (doc.name = 'WebHome' and lower(space.name) like '%wiki%'))
13 -#set($q = $services.query.xwql("from XWikiSpace as space where doc.space = 'homeopaths.WebHome' and doc.name = :usr"))
13 +
14 +#set($q = $services.query.xwql("where doc.space like 'homeopaths.%' and doc.name like 'practice'"))
14 14  $q.bindValue('usr', $xcontext.getUserReference().getName()).execute()
15 15  
16 16  </p>