Modifiche per il documento Homeopaths

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

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

Summary

Details

Page properties
Content
... ... @@ -10,8 +10,7 @@
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 -
14 -#set($q = $services.query.xwql("from 'homeopaths' as space where doc.space = space.reference and doc.name = :usr"))
13 +#set($q = $services.query.xwql("from XWikiSpace as space where doc.space = 'homeopaths.WebHome' and doc.name = :usr"))
15 15  $q.bindValue('usr', $xcontext.getUserReference().getName()).execute()
16 16  
17 17  </p>