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

[BUG] - Filter, number of pages stays the same #281

Open
ajpanton opened this issue Dec 16, 2024 · 1 comment
Open

[BUG] - Filter, number of pages stays the same #281

ajpanton opened this issue Dec 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ajpanton
Copy link

ajpanton commented Dec 16, 2024

Describe the bug
When viewing a table (Postgres), the number of pages don't change when I filter by some condition. Even when filtering it down to just one row, the number of pages stays the same. Now, when browsing through the pages, this one single filtered row will randomly disappear and randomly appear on any of those pages.

To Reproduce
Steps to reproduce the behavior:

  1. Open a table (Postgres) so large it has multiple pages.
  2. Filter by, say, id=2000, which brings the number of rows down to 1.
  3. See how the number of scrollable pages at the bottom stays the same.
  4. Now click through those pages, and see that row id=2000 randomly show up or disappear, sometimes even on page 1.

Expected behavior

  1. Number of pages to correspond with how many items there are even when filtering.
  2. Consistent showing of items on each page. This may get fixed by fixing the previous one?
@ajpanton ajpanton added the bug Something isn't working label Dec 16, 2024
@hkdeman
Copy link
Contributor

hkdeman commented Dec 19, 2024

Hello hello! Thank you for pointing out the bug and for trying WhoDB!

Another great observation. Will add this to our backlog and update the issue as soon as there is a PR :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants