google / timesketch

Collaborative forensic timeline analysis
Apache License 2.0
2.58k stars 589 forks source link

Context Search: "Rows per page" bug #2906

Open jkppr opened 1 year ago

jkppr commented 1 year ago

Describe the bug In a context search, switching the time window will break the pagination. e.g. when having 500 events per page selected in the context search view and then changing the time selector to 60sec, it will only show 40 events per page but still indicate 500 in the page selector.

To Reproduce

  1. Open a context search for a specific event
  2. Change rows per page to 500 (as example)
  3. Change context search intervals (i.e. from 60 seconds to 10 seconds)
  4. Amount of events is reset to 40, even though the rows per page toggle still shows 500 events

Expected behavior

  1. Changing the time in the context search should not influence the events per pages that are shown.
  2. The events per page selector should be in sync with the amount of shown events.