Changes for page Stats per date
Last modified by Vincent Massol on 2014/07/22 11:09
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
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 }