fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Team queries filters are reset when additional action is taken on the page.

Open xpkoala opened this issue 1 year ago • 2 comments

Fleet version: main

Web browser and operating system: NA


💥  Actual behavior

  1. 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

  1. With both global and team queries
  2. On the Team queries page
  3. Apply a platform filter (Windows)
  4. Paginate forward or change the sorting of a column

🕯️ More info (optional)

https://github.com/fleetdm/fleet/assets/11012743/5519b540-1aa1-4552-ab6c-b79180450b10

xpkoala avatar May 09 '24 16:05 xpkoala

This seems to be a released bug - as seen in v4.49.3: Screenshot 2024-05-09 at 11 20 56 AM

jacobshandling avatar May 09 '24 18:05 jacobshandling

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

jacobshandling avatar May 09 '24 22:05 jacobshandling

Filter lost in click, Pagination should not trick, Fleet's truth more specific.

fleet-release avatar May 30 '24 16:05 fleet-release