Details
-
Bug
-
Resolution: Fixed
-
Neutral
-
1.0
-
None
-
Magnolia 6.1.2
-
-
Empty show more show less
-
Add-Ons 32
-
3
Description
In a dashboard definition if I want to use the same filter for two data suppliers the only one gets the filter's value.
For example:
dataSuppliers:
mostPublishingUsersSupplier:
class: info.magnolia.dashboards.datasource.MostPublishingUsersDataSupplier
parameters:
workspace: tours
mostActivatedContentSupplier:
class: info.magnolia.dashboards.datasource.MostActivatedContentDataSupplier
parameters:
workspace: tours
filterFields:
- name: workspace
label: Workspace
class: info.magnolia.ui.form.field.definition.TextFieldDefinition
Only the first data supplier registered (MostPublishingUsersDataSupplier) will get the workspace filter value.
The second data supplier won't get any value.
AC
- Fix the scenario above
- Only AbstractExternalSupplier has direct access to parameters but any supplier should have the possibility
You can find the full example here: (I had to use 2 different filters for workspace to make it work)
https://git.magnolia-cms.com/projects/SERVICES/repos/dashboards-admin
Checklists
Acceptance criteria