Get your own customer support community
 

Shouldn't this reports deliver the same output ?

Hi,

i have this scaffolding template on pages under "Anwendungen"

{table-data:tbSRVRUNAPP}
|| Name ||Funktion||
| {hidden-data}{text-data:txtSRVRUNAPPNAME|width=15em}{text-data}{hidden-data}{hide-if:action=edit}{replace-and-render}{replace-item:%SYSTEMNAME%}{get-data:txtSRVRUNAPPNAME}{replace-item}{replace-body}[%SYSTEMNAME%]{add-label:%SYSTEMNAME%}{replace-body}{replace-and-render}{hide-if}
| {text-data:txtSRVRUNAPPDESC|width=45em}{text-data}
| {table-data}

I try to filter the pages by scaffolding data within the table.

First i use this report with the collection filter within the local reporter
{report-table}
{local-reporter:content:children|source=Anwendungen}
{collection-filter:data:tbSRVRUNAPP|matchItems=any}
{text-filter:data:txtSRVRUNAPPNAME|include=(?i)Jira01}
{collection-filter}
{local-reporter}
{report-column:title=Anwendung}{report-info:content:title|link=true}{report-column}
{report-column:title=Funktion dieses Servers}{report-block}
{local-reporter:data:tbSRVRUNAPP}
{text-filter:data:txtSRVRUNAPPNAME|include=(?i)Jira01}
{local-reporter}
{report-body}
{report-info:data:txtSRVRUNAPPDESC}
{report-body}
{report-block}{report-column}
{report-table}

works great

but with the collection filter outside the local reporter, there are a lot of empty lines

{report-table:injected=true}
{local-reporter:content:children|source=Anwendungen}
{local-reporter}
{collection-filter:data:tbSRVRUNAPP|matchItems=any}
{text-filter:data:txtSRVRUNAPPNAME|include=(?i)Jira01}
{collection-filter}
{report-column:title=Anwendung}{report-info:content:title|link=true}{report-column}
{report-column:title=Funktion dieses Servers}{report-block-1}
{local-reporter:data:tbSRVRUNAPP}
{text-filter:data:txtSRVRUNAPPNAME|include=(?i)Jira01}
{local-reporter}
{report-body-1}
{report-info:data:txtSRVRUNAPPDESC}
{report-body-1}
{report-block-1}{report-column}
{report-table}

So i think that the collection-filter outside the local-reporter processes the results from the local-reporter afterwards. But shouldn't it prevent the empty results from beeing shown ?
 
indifferent I’m clueless
Inappropriate?
1 person has this question

User_default_medium