Techminate-Labs / TNBC-Analytics-Frontend

TNBC-Analytics-Frontend
0 stars 3 forks source link

Pagination issue with government table #40

Closed liefwerk closed 3 years ago

liefwerk commented 3 years ago

The page is /government.

The issue is: data is going back in time instead of forward when changing the number of items displayed by page.

To reproduce this issue

Head to that page and go at the Payments table. The state should be:

To reproduce the issue, change the number of items to 10. If you look at the data shown, we are going back in time.

Reproduce it with Postman

I could not reproduce it with Postman, this means that there is an issue with the frontend.

liefwerk commented 3 years ago

The issue has been fixed. There was a computed function wrongly sorting the data.