During checking OLMIS-6526, I noticed that on all screens with filter there are some issues with pagination.
Log in as administrator and go to Administration > Products.
Go to e.g. the fourth page and open filter.
Enter "C100" as a code or a program with few products (e.g. ARV).
Click the "Search" button.
The pagination breaks.
Close modal and open the filter.
Remove code "C100" and click the "Search" button.
All products are visible but we are still on the fourth page.
Go to any other screen with Filter (Supervisory Nodes; Supply Lines; Requisition Groups; Geographic Zones; Facilities; Approve; View Requisition etc.).
Choose any of the next pages and open filter.
Enter "job" as a Name and click the "Search" button.
Empty page is visible with incorrect pagination.
Go to Requisitions > Create/Authorize and initiate an emergency requisition for e. g. Family Planning.
Click the "+Add Product" button and go to the third page.
Enter any product code (e.g. c119) in the "Search Product".
An issue with pagination occurs.
Server error shouldn't occur.
One should be redirected to the first page after searching.
One shouldn't see many pages on the bar with pagination if the data fit on one page.