{repeat-filter}
Plugin Version: from version 4.0.0
This filter checks if the current value is different from the previous one in the report.
Description
This filter is useful if you are working with data which is sorted according to a particular value and you only want to display the first occurrence of that value, rather than outputting the same text for each repeated occurrence.
Usage
Wiki Markup
{code}
{repeat-filter:prefix:key|match=[first/repeats]}
{code}
Parameters
Name |
Required |
Default |
Description |
|---|---|---|---|
[default]/key |
|
The key chain value to filter on. |
|
match |
first |
Specify whether to match the _first_ item only (the default behaviour) or _repeats_ only. May be: * *first* \- the first occurence only is displayed. * *repeats* \- the repeated occurrences are displayed, not the first occurrence. |
Recipes
| No content found for label(s) +recipe,+repeat-filter. |
Discussions