fleet
fleet copied to clipboard
Team queries filters are reset when additional action is taken on the page.
Fleet version: main
Web browser and operating system: NA
💥 Actual behavior
- With a platform filter enabled, using pagination will remove the filter, but this will not be shown in the UI. This also occurs when using the ascend/descend filtering on columns where that is possible.
🧑💻 Steps to reproduce
- With both global and team queries
- On the Team queries page
- Apply a platform filter (Windows)
- Paginate forward or change the sorting of a column
🕯️ More info (optional)
https://github.com/fleetdm/fleet/assets/11012743/5519b540-1aa1-4552-ab6c-b79180450b10
This seems to be a released bug - as seen in v4.49.3:
Also observed in v4.48.0 - this is a relatively old bug. It can also be observed by navigating directly to any page other than 0 – interaction with the UI not required, e.g., https://localhost:8080/queries/manage?order_direction=desc&order_key=name&page=1&platform=linux
Filter lost in click, Pagination should not trick, Fleet's truth more specific.