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

Pagination on the Manage alert conditions page is not working #3528

Closed
crodrigocs opened this issue Feb 20, 2017 · 0 comments · Fixed by #3529
Closed

Pagination on the Manage alert conditions page is not working #3528

crodrigocs opened this issue Feb 20, 2017 · 0 comments · Fixed by #3529
Assignees
Milestone

Comments

@crodrigocs
Copy link

If more than 10 alert conditions are added, pagination kicks in. When I try to go to the next page, it jumps to the next condition and won't let me go any further.

Expected Behavior

When clicking the next page it should jump to the next 10 conditions.

Current Behavior

When clicking the next page, it jumps to the next condition.

Example:
Conditions 1 to 10 are being displayed. When I click the next page button, conditions 2 to 11 are displayed (instead of conditions 11 to 20) and there's no way to move further.

Possible Solution

Change the pagination behavior to what it should be or remove pagination altogether.

Steps to Reproduce (for bugs)

  1. Add more than 10 alert conditions
  2. Go to the Alerts page and click "Manage Conditions"
  3. Click on the next page number or > or >>

Your Environment

  • Graylog Version: 2.2.1
  • Elasticsearch Version: 2.4.2
  • Operating System: Ubuntu 14.04.5 LTS
  • Browser version: Chrome 56.0.2924.87 / IE 11.0.9600.18499
@dennisoelkers dennisoelkers self-assigned this Feb 21, 2017
@dennisoelkers dennisoelkers added this to the 2.2.2 milestone Feb 21, 2017
dennisoelkers added a commit that referenced this issue Feb 21, 2017
Before this change, the slice of alert conditions shown in the paginated
view was calculated incorrectly.

Fixes #3528.
@ghost ghost assigned joschi Feb 23, 2017
@ghost ghost removed the in progress label Feb 23, 2017
joschi pushed a commit that referenced this issue Feb 23, 2017
Before this change, the slice of alert conditions shown in the paginated
view was calculated incorrectly.

Fixes #3528
joschi pushed a commit that referenced this issue Feb 23, 2017
Before this change, the slice of alert conditions shown in the paginated
view was calculated incorrectly.

Fixes #3528
(cherry picked from commit 0e25b82)
joschi pushed a commit that referenced this issue Feb 23, 2017
Before this change, the slice of alert conditions shown in the paginated
view was calculated incorrectly.

Fixes #3528
(cherry picked from commit 0e25b82)
edmundoa pushed a commit that referenced this issue Feb 23, 2017
Before this change, the slice of alert conditions shown in the paginated
view was calculated incorrectly.

Fixes #3528
(cherry picked from commit 0e25b82)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants