0 Votes

Changes for page IncidentGallery

Last modified by Ryan C on 2025/07/17 06:41

From version 2.1
edited by Ryan C
on 2025/07/17 04:52
Change comment: There is no comment for this version
To version 2.2
edited by Ryan C
on 2025/07/17 04:56
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -4,8 +4,8 @@
4 4   * @param tags - comma-separated tags to filter (case-insensitive)
5 5   * @param max - max incidents to display (optional)
6 6   */
7 -def includeTags = parameters.tags?.split(',')*.trim()*.toLowerCase() ?: []
8 -def maxCount = parameters.max?.toInteger() ?: 999
7 +def includeTags = tags?.split(',')*.trim()*.toLowerCase() ?: []
8 +def maxCount = max?.toInteger() ?: 999
9 9  
10 10  def hql = """
11 11   select doc.fullName
Macro description
... ... @@ -1,1 +1,1 @@
1 - Displays a gallery of anti-White incidents, with optional tag filter
1 +Displays a gallery of anti-White incidents, with optional tag filter