GEWIS / sudosos-frontend

This monorepo contains all frontend projects and shared code for the SudoSOS platform, built with Vue 3 and TypeScript. Contributions are welcome!
https://sudosos.gewis.nl
3 stars 3 forks source link

[Bug]: Pagination broken after searching #310

Closed SuperVK closed 4 weeks ago

SuperVK commented 1 month ago

What browsers are you seeing the problem on?

Firefox

Is this happening on the SudoSOS point of sale or on the SudoSOS dashboard?

Dashboard

Current behaviour

After searching certain keywords, the second page instantly directs you back to the first page.

Desired behaviour

Pagination should not be jumping around like that

Steps to reproduce

Go on the test database, search for "Daniel" under users, click on the second page, observe that it jumps back to the first page for some reason.

Other information

No response

CodeNamedRobin commented 4 weeks ago

I believe this is happening because of backend pagination issues. The backend, with the same search query, gives different results every different time. There are however also two events fired when clicking the next page, which I find weird as well. Needs further investigation.

github-actions[bot] commented 3 weeks ago

:tada: This issue has been resolved in version 1.4.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: