You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#3665
Update `setOrderByField` and `setOrderDirection` functions to reset pagination to page 1 when sorting.
* Modify `setOrderByField` to set the page state to '1' when changing the order by field.
* Modify `setOrderDirection` to set the page state to '1' when changing the order direction.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/loculus-project/loculus/issues/3665?shareId=XXXX-XXXX-XXXX-XXXX).
Fixes#3665
Update `setOrderByField` and `setOrderDirection` functions to reset pagination to page 1 when sorting.
* Modify `setOrderByField` to set the page state to '1' when changing the order by field.
* Modify `setOrderDirection` to set the page state to '1' when changing the order direction.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/loculus-project/loculus/issues/3665?shareId=XXXX-XXXX-XXXX-XXXX).
Currently you stay on the same arbitrary page, which is confusing
The text was updated successfully, but these errors were encountered: