Graylog2 / Graylog2/graylog2-server

Filtering content packs does not reset pagination

Open
#5,573 0 comments 0 reactions 0 assignees View on GitHub
bug content-packs triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

## Expected Behavior
After filtering the content packs page, I expect to see the first page.

## Current Behavior
Filtering while browsing a page that is not the first one may display an empty list:

![search](https://user-images.githubusercontent.com/716185/51604532-5a357700-1f0d-11e9-82d3-acb4afc1d956.gif)

At first I thought the search did not return results, but manually going to the first page while the filter is applied shows the right results. I guess we need to reset the page number when the filter changes.

## Steps to Reproduce (for bugs)
1. Add 11 content packs
2. Go to the 2nd page
3. Do a search
4. There are no visible results

## Your Environment
* Graylog Version: Graylog 3.0.0-beta.4-SNAPSHOT (87afab1)

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.