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

Increasing the number of items per page leads to no services shown if you are on a page >1 #218

Closed
K0nne opened this issue Aug 1, 2023 · 1 comment · Fixed by #219
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@K0nne
Copy link

K0nne commented Aug 1, 2023

Describe the bug

Imagine you have 60 services per host, you are on page 2 (default is 25 items) and change the number of items per page to 100. After this no services are shown. The page number are gone.

I think this happens because icingadb-web seems to stay internal on page 2, trying to show the services 101-200, which do not exist.

To prevent this you have to be on page 1 before you increase the number of items shown.

Expected behavior

The user does not have to be on page 1 to increase the number of objects per Page to see objects afterwards.

Your Environment

  • Icinga DB Web version (System - About): latest
  • Icinga Web 2 version (System - About): latest
  • Web browser:edge
  • Icinga 2 version (icinga2 --version):2.13.8
  • Icinga DB version (icingadb --version):latest
  • PHP version used (php --version):
  • Server operating system and version: rhel8
@nilmerg nilmerg added the bug Something isn't working label Aug 2, 2023
@nilmerg
Copy link
Member

nilmerg commented Aug 2, 2023

Confirmed. Thanks for reporting!

@nilmerg nilmerg transferred this issue from Icinga/icingadb-web Mar 21, 2024
@nilmerg nilmerg added this to the v0.9.2 milestone Mar 21, 2024
@nilmerg nilmerg self-assigned this Mar 21, 2024
nilmerg added a commit that referenced this issue Mar 21, 2024
nilmerg added a commit that referenced this issue Apr 9, 2024
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

Successfully merging a pull request may close this issue.

2 participants