Skip to content

Bug: Pagination broken on event definition page #42703

@luke-belton

Description

@luke-belton

Bug Description

Bug description

Pagination is broken on the event definition page - you are unable to navigate beyond the first page of event definitions.

It looks like this bug was introduced in #40983 via the changes to frontend/src/scenes/data-management/events/eventDefinitionsTableLogic.ts, specifically in urlToAction.

It looks like what happens is that PaginationControl manages the page state, but immediately after page=2 gets set, urlToAction in eventDefinitionsTableLogic resets the filters rather than navigating to the next page of results.

Additional context

From: https://posthoghelp.zendesk.com/agent/tickets/43709

Debug info

Kind: bug

Target area: analytics

Report event: http://go/ticketByUUID/77552c88-5474-49a6-9cf5-d764464aec30

Session: https://us.posthog.com/project/sTMFPsFhdP1Ssg/replay/019ac41c-5d83-780c-b5eb-87725b4812b3?t=200

Exceptions: https://us.posthog.com/project/2/error_tracking?filterGroup=%7B%22type%22%3A%22AND%22%2C%22values%22%3A%5B%7B%22type%22%3A%22AND%22%2C%22values%22%3A%5B%7B%22key%22%3A%22%24session_id%22%2C%22value%22%3A%5B%22019ac41c-5d83-780c-b5eb-87725b4812b3%22%5D%2C%22operator%22%3A%22exact%22%2C%22type%22%3A%22event%22%7D%5D%7D%5D%7D

Location: https://us.posthog.com/project/7531/dashboard/636021

Persons-on-events mode for project: person_id_override_properties_on_events

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions