Pagination should reset when switching table filtering options
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 39.9k
- Forks
- 3.4k
- Avg merge
- 7h 27m
- Merged PRs (30d)
- 222
Description
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
- Go to events
- Change to page 3
- Switch to Type: PostHog events
Additional context
Debug info
- [x] PostHog Cloud
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Events page and reproduce the issue by moving to page 3, then switching from All events to PostHog events. Inspect the pagination and filtering entry points around the displayed event query, including the page parameter shown in the report. Done means switching the event type returns the available results without requiring manual navigation back to page 1.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100