Changes for page Stats per date

Last modified by Vincent Massol on 2014/07/22 11:09

<
From version < 7.1 >
edited by Vincent Massol
on 2014/07/21 18:48
To version < 8.1 >
edited by Vincent Massol
on 2014/07/21 18:49
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -9,7 +9,7 @@
9 9  {{groovy}}
10 10  if (request.confirm == '1') {
11 11   def total = 0
12 - services.query.xwql("from doc.object(ExtensionCode.ExtensionClass) as extension where doc.space = 'Extension' and doc.creationDate >= :start and doc.creationDate < :end").bindValue('start', Date.parse('yyyy-MM-dd', request.start)).bindValue('end', Date.parse('yyyy-MM-dd', request.end) and extension.authors not in ('XWiki Development Team')).execute().each() {
12 + services.query.xwql("from doc.object(ExtensionCode.ExtensionClass) as extension where doc.space = 'Extension' and doc.creationDate >= :start and doc.creationDate < :end and extension.authors not in ('XWiki Development Team')").bindValue('start', Date.parse('yyyy-MM-dd', request.start)).bindValue('end', Date.parse('yyyy-MM-dd', request.end)).execute().each() {
13 13   println "* ${it}"
14 14   total++
15 15   }

Get Connected