forked from xwiki-contrib/application-task
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
Description
Describe the bug
When configuring the task report macro to filter by assignee and status at the same time, only the status filter is respected in the result.
Steps to reproduce
Steps to reproduce the problematic behavior:
- Add macro
{{task-report assignees="XWiki.SampleUser"/}}to a document - Add macro
{{task-report assignees="XWiki.SampleUser" status="ToDo"/}}to a document - Check requests in browser: query string for first table contains
filters.assignee=:XWiki.SampleUser, the query string for second table containsfilters.status=:ToDobut not the filter by assignee. Second table shows too many results.
Expected behavior
The live data table should respect all filters.
Actual behavior
Filter by assignee is ignored in the request and too many results are returned.
Environment (please complete the following information):
- Browser: Chrome
- XWiki version: 17.6.0
- App version: 3.10.0
Additional context
Probably a bug with the way the filters are passed to the live data table. In TaskReportMacro.xml the filters for reporter and status are set via filters= parameter for livedata, the filter for assignee is provided via $livedataCfg and is not respected.