Graylog2 / graylog2-server

Free and open log management
https://www.graylog.org
Other
7.43k stars 1.07k forks source link

Still display pagination when reaching pagination limit in events overview. #18930

Open linuspahl opened 7 months ago

linuspahl commented 7 months ago

Description

It is only possible to search trough the last 10000 events. When you show 100 events per page an you open page 101 you receive no result but the following page.

image

Since we maintain the active page as URL query params ?page=101&pageSize=100 we should still display the pagination in this case to allow the user to easily open the previous page.

Context

Your Environment

linuspahl commented 7 months ago

While having another look, I did not saw this problem when

  1. Opening the alerts overview
  2. Opening page 101

Only when

  1. Opening the alerts overview
  2. Opening page 101
  3. Reloading the page.

In this case the backend seems to return total_events: 0 for the alerts search request.