Skip to content

frontend request is made by filtering taskID instead of taskWrapperId#707

Open
LuffyNoNika wants to merge 2 commits into
masterfrom
2197-bug-task-filter-by-task-id-does-also-return-other-entries
Open

frontend request is made by filtering taskID instead of taskWrapperId#707
LuffyNoNika wants to merge 2 commits into
masterfrom
2197-bug-task-filter-by-task-id-does-also-return-other-entries

Conversation

@LuffyNoNika

Copy link
Copy Markdown
Contributor
image

Id filter for tasks now filters correctly.

@correct-horse-battery-bench

Copy link
Copy Markdown
Contributor

@LuffyNoNika Changing the dataKey here to 'taskId' from 'taskWrapperId' will also affect the sort field in addition to the searchable text input.
In the sort field we might want to preserve the insertion order of the supertasks (which do not have a taskId but a taskWrapperId). Not sure if we want this, as supertasks will be sorted first/last always.

@correct-horse-battery-bench

Copy link
Copy Markdown
Contributor

Switched filter locally in the task table to taskId if column is ID. Localized change as alternative would have been to add a config field to the table config in order to specify the filter key specifically which would have affected a large number of tables. In order to keep the changes small for the 1.0 release it was done this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: Task filter by task id does also return other entries

2 participants