Changes for page Homeopaths

Last modified by Jip-jan Alunkel on March 14, 20:13

From version 8.114
edited by Jip-jan Alunkel
on December 08, 20:34
Change comment: Renamed from xwiki:practices.WebHome
To version 8.111
edited by Jip-jan Alunkel
on December 08, 20:24
Change comment: Renamed from xwiki:practices.WebHome

Summary

Details

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