Changes for page Duncan Result
Last modified by Alexandru Colesnicov on 2019/05/27 16:12
edited by Alexandru Colesnicov
on 2018/11/05 19:00
on 2018/11/05 19:00
edited by Alexandru Colesnicov
on 2018/11/05 18:49
on 2018/11/05 18:49
Change comment: There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,10 +1,9 @@ 1 1 {{velocity}} 2 2 3 - #set($class="Duncan1.Code.GDataClass") 4 - #set($template="Duncan1.Code.GDataTemplate") 5 - #set($xwlquery="from doc.object($class) as obj where doc.fullName <> '$template' order by doc.date desc") 6 - "$xwlquery" 7 - #set($list=$services.query.xwql($xwlquery).execute()) 3 + ###set($class="Duncan1.Code.GDataClass") 4 + ###set($template="Duncan1.Code.GDataTemplate") 5 + ###set($xwlquery="from doc.object($class) as obj where doc.fullName <> '$template' order by doc.date desc") 6 + ###set($list=$services.query.xwql($xwlquery).execute()) 8 8 9 9 {{/velocity}} 10 10 ... ... @@ -16,9 +16,8 @@ 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" 20 -# print "\"%s\"" % xwlquery 21 -# list = services.query.xwql(xwlquery).execute() 18 +xwlquery = "from doc.object('" + className + "') as obj where doc.fullName <> '" + template + "' order by doc.date desc" 19 +list = services.query.xwql(xwlquery).execute() 22 22 23 23 totalF=0 24 24 totalM=0