On 2.21.0 The Stacks search no longer remembers filtered search results
Before you start please confirm the following.
- [X] Yes, I've searched similar issues on GitHub.
- [X] Yes, I've checked whether this issue is covered in the Portainer documentation or knowledge base.
Problem Description
On 2.21.0 if I use the search bar for containers it filters for those containers.
If I open a container and then go back to the previous page the search results are still filtered.
If I repeat the same steps for a stack the search results are not filtered.
Expected Behavior
The search results would be filtered when returning to the page the same way they are for containers and were in previous versions.
Actual Behavior
Containers search works as expected and stacks doesn't anymore.
Steps to Reproduce
- Go to containers
- Search for a container
- Open a container
- Press the back button
- Notice search results remained filtered
- Repeat steps but this time with stacks and notice that the search results are no longer filtered
Portainer logs or screenshots
No response
Portainer version
2.21.0
Portainer Edition
Business Edition (BE/EE) with Home & Student license
Platform and Version
Docker 26.1.4
OS and Architecture
Ubuntu 22.04
Browser
Chrome
What command did you use to deploy Portainer?
No response
Additional Information
No response
Hi @Daniel-dev22 Thanks for raising this, I have confirmed this and raised it with the team
internal: BE-11182
Hi, just want to add, it's not just remembering, it "breaks" displaying containers on Service level view. unfiltered vs filtered results
The information about containers is there, also on service details, so I guess it is related to this issue.
Hi, I just want to add that this problem is also present at the stack level in a Docker Swarm environment. The stack list does not mantain the search filter, still present in 2.21.3 (we are on EE).
Easy to reproduce: add a filder on the stack page (/docker/stacks), then enter in another page (for example clicking on one of the filtered stacks) and then go back to the stacks page: the list is now again complete - not filtered, but the search box still has the string that was used before to do the search.
Do you guys have an ETA on the fix or which version will have it? When you have a lot of stacks it's a bit annoying.
Please update to 2.22 if you can and let me know if the issue persists
@Nick-Portainer tried 2.22 , it seems to be working. I'll let developers ~break~ test it for a while.
Though, it took me some time trying to debug this
until I realised that there is now a display limit in the container list which the running ones not fit (coming from 2.19.4) You might want to consider showing the running ones on top by default.
Please update to 2.22 if you can and let me know if the issue persists
Hi Nick, I've updated to 2.23.0 and the issue persists.
This has been resolved in the latest 2.25.0 STS release
Confirm, it works fine