static_filter in report is not doing anything in CP
Summary
CP contacts should be able to view a report of their subscriptions. But the report shows subscriptions of all contacts. I want the report to show only subscriptions of the logged in contact.Content
I set the widget as follows:
<rn:container report_id="100006" per_page="15">
<rn:widget path="reports/Paginator" />
<rn:widget path="reports/Grid" static_filter="c_id=#rn:profile:contactID#" />
</rn:container>
The report is like this:
Article
|
Title
|
Created
|
Contact ID
|
---|---|---|---|
1234 | Article 1 | 28-08-2020 | 1 |
1235 | Article 2 | 25-08-2020 | 347 |
1236 | Article 3 | 25-08-2020 | 62 |
1237 | Article 4 | 25-08-2020 | 212 |
1238 | Article 5 | 25-08-2020 | 212 |
In the report editor Contactpersoon-ID = okcs_contacts.c_id
Tagged:
0