Message detective is unable to return any results after a paginated search
Version number of controlcenter
Version: 1.7.0-RC3
OS: CentOS 8
First I search for something that results on many results (search 1), making the output paginated. Then I click in the last page (8, for instance).
Then I do another search (search 2
), which I expect to return just a few results, in a single page. But there's no result.
To workaround it, I need to perform the search 1
again, and click in the first page, and then perform search 2
again, obtaining the expected results.
The issue happens because the search call pass the page it wants to render in search 2
, but using the one left from search 1
, which is 8.
The solution is to reset the page value on the http requests to 1 when a new search is performed.