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

Ressources > Domains: Pagination always assumes total number, even with filter #1309

Open
realrellek opened this issue Mar 2, 2025 · 0 comments
Assignees

Comments

@realrellek
Copy link

Describe the bug
Say you have a bunch of domains in your froxlor across different customers. You go to Resources, Domains and want to filter for one specific user (I've entered their username because it was shorter).

Instead of the 85 domains total, we are now at like 15 domains. However, the pagination still shows all 5 pages that would have been there if the filter was not applied. This is a little confusing because you cannot be sure if you are actually at the end of the list (especially since every page displays the same content).

See screenshot.

Image

System information

  • Froxlor version: 2.2.5+nightly.8eb38a8
  • Web server: apache 2.4.whatever (from Debian Bookworm)
  • DNS server: Bind (but not actually used, I don't think (not that it'd matter))
  • POP/IMAP server: Dovecot
  • SMTP server: postfix
  • FTP server: proftpd
  • OS/Version: Debian Bookworm

To Reproduce
Steps to reproduce the behavior:

  1. Have a number of items, such as domains. Make sure it's more than would fit on one page.
  2. Go to Resources > Domains
  3. Apply a search filter (doesn't seem to matter what, I've tried with username and domain)
  4. It filters correctly, but pagination still thinks the total without the filter applies.

Expected behavior
Pagination (and number of domains on top?) should calculate with the filter applied instead of total-total.

Logfiles
n/a

Additional context
This also happens in Resources > SSL Certificates, so I'd assume it happens everywhere a pagination is presented (or at least everywhere in Resources).

Thanks for all the work :) (This is said far too rarely in open source projects)

@d00p d00p self-assigned this Mar 2, 2025
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

2 participants