fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Platform filter resets when paginating in "Software > OS" section

Open kennyb-222 opened this issue 8 months ago • 5 comments

Fleet version: 4.65.0

Web browser and operating system: Chrome 134.0.6998.117/.118 running on macOS


💥  Actual behavior

When selecting a platform filter under the "Software > OS" section, advancing to the next page resets the filter back to "All platforms" instead of maintaining the selected filter.

🧑‍💻  Steps to reproduce

  1. Add hosts with more than 20 different OS versions across multiple platforms (macOS, Linux, Windows).
  2. Ensure "All teams" is selected.
  3. Go to "Software" > "OS" > Click the dropdown where "All platforms" is displayed.
  4. Choose a platform with more than 20 items (e.g., macOS) to change the filter.
  5. Click "Next" at the bottom of the page.
  6. Observe that the filter resets back to "All platforms."

🕯️ More info (optional)

N/A

🧰 To fix

Ensure that filters maintain states when paginating.

kennyb-222 avatar Mar 20 '25 03:03 kennyb-222

Was able to reproduce on 4.66.0RC, removed reproduce label and added :product

jmwatts avatar Mar 24 '25 19:03 jmwatts

Please add your planning poker estimate with Zenhub @RachelElysia

iansltx avatar Mar 26 '25 01:03 iansltx

Do we know if this is unreleased? I can probably fix it in under an hour and determine released or unreleased while I'm at it.

RachelElysia avatar Mar 26 '25 16:03 RachelElysia

This would be released. 4.66RC wasn't cut when this bug was filed.

iansltx avatar Mar 26 '25 16:03 iansltx

Moved onto release board cuz I haz capacity cc: @mostlikelee

RachelElysia avatar Apr 04 '25 15:04 RachelElysia

QA Notes

  1. Add hosts with more than 20 different OS versions across multiple platforms (macOS, Linux, Windows).
  2. Ensure "All teams" is selected.
  3. Go to "Software" > "OS" > Click the dropdown where "All platforms" is displayed.
  4. Choose a platform with more than 20 items (e.g., macOS) to change the filter.
  5. Click "Next" at the bottom of the page.
  • [x] Confirmed that the platform filter does not reset when going to the next page and returning to the first page.

jmwatts avatar Apr 07 '25 21:04 jmwatts

Pagination turns, like leaves, Yet, filter holds steady as stone. Ease found in order's weave.

fleet-release avatar Apr 24 '25 21:04 fleet-release