From version < 15.7 >
edited by Alexandru Colesnicov
on 2018/11/05 18:39
To version < 15.9 >
edited by Alexandru Colesnicov
on 2018/11/05 18:47
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -15,12 +15,9 @@
15 15  
16 16  className = "Duncan1.Code.GDataClass"
17 17  template = "Duncan1.Code.GDataTemplate"
18 -xwlquery = "from doc.object(className) as obj where doc.fullName <> 'template' order by doc.date desc"
18 +xwlquery = "from doc.object(\"" + className + "\") as obj where doc.fullName <> '" + template + "' order by doc.date desc"
19 19  list = services.query.xwql(xwlquery).execute()
20 20  
21 -
22 -
23 -
24 24  totalF=0
25 25  totalM=0
26 26  nPos=list.size()

Need help?

If you need help with XWiki you can contact: