From version < 24.1 >
edited by Alexandru Colesnicov
on 2019/05/27 16:11
To version < 15.14 >
edited by Alexandru Colesnicov
on 2018/11/05 18:58
< >
Change comment: There is no comment for this version

Summary

Details

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

Need help?

If you need help with XWiki you can contact: