Graylog2 / Graylog2/graylog2-server

There is no content displayed when user delete last item from the last paginated page in content-packs list

Open
#12,341 0 comments 0 reactions 0 assignees View on GitHub
bug test-day
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

## Expected Behavior
After deleting the last item on the page we should show 1st or last page content or show pagination.

## Current Behavior
When the user deletes the last item on f.e. 2nd page there is no content and no pagination and impossible to navigate to the 1st page

https://user-images.githubusercontent.com/10741557/159494751-bef9af32-5e9e-4892-baeb-ffe79ca1aa00.mp4

## Steps to Reproduce (for bugs)

1. go to `system/contentpacks`
2. Create several content packs to have 2 pages with one item on the 2nd page
3. go to the 2nd page
4. delete the last item
5. You will see that there is no content shown and there is no pagination

* Graylog Version: 4.3.0-beta.2+a61a34c

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.