0 Votes

Changes for page IncidentGallery

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

From version 4.15
edited by Ryan C
on 2025/07/17 06:40
Change comment: There is no comment for this version
To version 4.11
edited by Ryan C
on 2025/07/17 06:00
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -1,6 +1,6 @@
1 1  {{groovy}}
2 2  def tags = binding.variables['tags']
3 -def includeTags = tags*.toLowerCase().collect { it.replaceAll('_', ' ') }
3 +def includeTags = tags?.split(',')*.trim()*.toLowerCase().findAll { it }
4 4  
5 5  def maxCount = 100
6 6  def hql = """
XWiki.WikiMacroParameterClass[0]
Parameter advanced
... ... @@ -1,1 +1,1 @@
1 -No
1 +Yes
Parameter default value
... ... @@ -1,0 +1,1 @@
1 +Job Discrimination
Parameter description
... ... @@ -1,1 +1,1 @@
1 -Categorize by tag
1 +tags
Parameter type
... ... @@ -1,1 +1,1 @@
1 -java.util.List<macros.IncidentTag>
1 +Wiki