Prowler App - "Error: Invalid page" when page selected
Steps to Reproduce
Placed in one of the list functionalities of the Prowler APP I select a filter that generates a paging of X pages. I go to the last page of this list. Now I apply a new filter that makes the number of pages lower than the previous filter. Then the error βError: Invalid page.β appears.
Expected behavior
I hope that when the new filter is applied, the listing will be placed on the first page of the list
Actual Result with Screenshots or Logs
This is the error that appears when you are located on a specific page of a listing and you apply a new filter that causes the listing to have fewer pages than the previous filter.
This is an example video
How did you install Prowler?
Docker (docker pull toniblyx/prowler)
Environment Resource
Commands
curl -LO https://raw.githubusercontent.com/prowler-cloud/prowler/refs/heads/master/docker-compose.yml
curl -LO https://raw.githubusercontent.com/prowler-cloud/prowler/refs/heads/master/.env
docker compose up -d
OS used
MacOS
Prowler version
prowlercloud/prowler-api:stable
Pip version
prowlercloud/prowler-api:stable
Context
No response
The Prowler APP version is v5.4.0
Hello @StylusFrost!
Thanks for notifying this error and showing it in a video, that allow us to understand quickly what you wanted to report π. We'll take a look and come back with a solution, thanks for using Prowler! π
@StylusFrost Thank you for the report. That's a known bug. If you're on the last page (or X page) and apply a new filter, the page should go back to 1.
We'll get back to you when we have this done.
This was fixed in https://github.com/prowler-cloud/prowler/pull/7655.
Thanks for using Prowler π