Issue with incorrect pagination on all screens with filter


During checking OLMIS-6526, I noticed that on all screens with filter there are some issues with pagination.

Reproduction steps:

  1. Log in as administrator and go to Administration > Products.

  2. Go to e.g. the fourth page and open filter.

  3. Enter "C100" as a code or a program with few products (e.g. ARV).

  4. Click the "Search" button.

  5. The pagination breaks.

  6. Close modal and open the filter.

  7. Remove code "C100" and click the "Search" button.

  8. All products are visible but we are still on the fourth page.

  9. Go to any other screen with Filter (Supervisory Nodes; Supply Lines; Requisition Groups; Geographic Zones; Facilities; Approve; View Requisition etc.).

  10. Choose any of the next pages and open filter.

  11. Enter "job" as a Name and click the "Search" button.

  12. Empty page is visible with incorrect pagination.

  13. Go to Requisitions > Create/Authorize and initiate an emergency requisition for e. g. Family Planning.

  14. Click the "+Add Product" button and go to the third page.

  15. Enter any product code (e.g. c119) in the "Search Product".

  16. An issue with pagination occurs.

Expected results:

  • 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.






Joanna Szymańska


Epic Link