Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboard pagination not working #359

Open
davide-parini opened this issue Jan 31, 2020 · 1 comment
Open

Dashboard pagination not working #359

davide-parini opened this issue Jan 31, 2020 · 1 comment

Comments

@davide-parini
Copy link

If you have more than 20 saved dashboard into banana-int, the pagination does not work properly: it is impossible to go to page 2.
Clicking on "2":
immagine
Results in this:
immagine

I'm using Banana v1.6.24.

@davide-parini
Copy link
Author

The issue seems to be here. The "slice" is redundant, the list already contains only paginated elements. For instance, if you go to page 2 and have 25 elements, the list already contains only the last 5 items: slicing it from 20 to 40 is wrong.
immagine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant