Changes for page IncidentGallery
Summary
Details
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -1,9 +1,4 @@ 1 -{{groovy}} 2 -/** 3 - * incidentGallery script macro 4 - * @param tags - comma-separated tags to filter (case-insensitive) 5 - * @param max - max incidents to display (optional) 6 - */ 1 +{{groovy bindings="tags,max"}} 7 7 def includeTags = tags?.split(',')*.trim()*.toLowerCase() ?: [] 8 8 def maxCount = max?.toInteger() ?: 999 9 9