{combining-reporter}
Plugin: Reporting Plugin, from version 3.0.0
This reporter combines the results of multiple sub-reporters into a single list.
Usage
{combining-reporter:unique=true}
{xxx-reporter:...}
{yyy-reporter:...}
{xxx-sort:...}
{xxx-filter:...}
{combining-reporter}
Parameters
| Name | Required | Default | Description |
|---|---|---|---|
| unique | | false
| If set to true, this will ensure that each item is only returned once, even if it comes from multiple reporters. Note: This will have a performance penalty due to the uniqueness checking. |
| matchAll | | true
| If set to 'false', content matching any of the criteria will be returned. Otherwise, the content must match all criteria. |
Examples
Combining two sets of pages
This will display all the children of two separate pages into a single, sorted list.
{report-list}
{combining-reporter}
{local-reporter:content:children|source=Foo}
{local-reporter:content:children|source=Bar}
{text-sort:content:title}
{combining-reporter}
{report-body}{report-info:content:title|link=true}{report-body}
{report-list}

Discussions