posthog icon indicating copy to clipboard operation
posthog copied to clipboard

Pagination should reset when switching table filtering options

Open corywatilo opened this issue 9 months ago • 1 comments

Bug Description

Bug description

When paginating through events and switching from All events to PostHog events, results will be empty if you're not paginated to page 1.

For example, I was on page 3, but since there is only 1 page of PostHog events, I had to paginate back to page 1.

&event_type=event&ordering=-last_seen_at&page=3

Seems like page param should be removed when switching the type.

How to reproduce

  1. Go to events
  2. Change to page 3
  3. Switch to Type: PostHog events

Additional context

2024-05-11 14 33 48

Debug info

- [x] PostHog Cloud

corywatilo avatar May 11 '24 11:05 corywatilo

Ditto for other tables, like https://us.posthog.com/project/XXXXX/insights

Adding a filter like "On dashboard Y" works for page 1, but then clicking through to page 2 seems to lose the filter.

isAdrisal avatar May 12 '24 23:05 isAdrisal