GeoWerkstatt / geopilot

geopilot ist ein benutzerfreundliches Werkzeug für die Abgabe und die Validierung von Geodaten. Es unterstützt eine Deklaration des Datensatzes und stellt die validierten Daten über STAC zum Zugriff bereit.
https://geopilot.ch
MIT License
0 stars 0 forks source link

AdminGrid: Pagination the new row on a new page not working #226

Open tschumpr opened 1 month ago

tschumpr commented 1 month ago

Steps to reproduce Steps to reproduce the behavior:

  1. Go to Administration - Mandate
  2. Ensure that the row count is such that the last page in the grid is completely filled (e.g. 10 rows with pageSize 5 or 10)
  3. Click "Add mandate"

Expected behavior The grid navigates to the page with the new row

Current behavior A new row is added but the pagination moves to the second last page (e.g. new row is on page 3 but grid shows page 2)

Note Pagination works perfectly if the new row can be placed on the last existing page (e.g. before 8 rows with pageSize 5, new row can be added to page 2 where already 3 rows are displayed)