Changes for page Recent Changes

Last modified by Administrator on 2009/09/08 18:00

From version Icon 4.1 Icon
edited by superadmin
on 2026/12/02 00:12
Change comment: Migrated property [contentType] from class [XWiki.StyleSheetExtension]
To version Icon 5.1
edited by Administrator
on 2009/09/08 18:00
Change comment: Migrated property [contentType] from class [XWiki.StyleSheetExtension]

Summary

Details

Icon Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.superadmin
1 +XWiki.Admin
Content
... ... @@ -118,7 +118,7 @@
118 118   ## If any, loop over criterias to add them to the query, then perform the query.
119 119   #set($values = $util.getArrayList())
120 120   #foreach($criterion in $criteria.keySet())
121 - #if($criteria.get($criterion).size() > 0)
121 + #if($criteria.get($criterion) && $criteria.get($criterion).size() > 0)
122 122   #set($hqlQuery = $hqlQuery.replaceAll("where", "where ${criterion} and"))
123 123   #set($discard = $values.addAll(0, $criteria.get($criterion)))
124 124   #end