Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table sorting (by sum) doesn't work by default, not preserved when changing date range #8408

Open
corywatilo opened this issue Feb 2, 2022 · 2 comments
Labels
bug Something isn't working right

Comments

@corywatilo
Copy link
Contributor

corywatilo commented Feb 2, 2022

Bug description

When viewing a table of results within an insight, choosing an ordering option (like by total sum), then changing the date range, the previous-selected ordering option isn't preserved.

Update: Sorting also doesn't appear to work by default when a saved insight is loaded from a link.

Here's after changing the date range:

image

Here's when trying to load this insight, without adjusting any settings at all:

image

Expected behavior

When changing the date range, I'd expect my sorting remains the same.

How to reproduce

  1. View a report (internal) while using the table display
  2. Sort by top viewed pages
  3. Change the time frame, and notice how the sorting isn't preserved

Environment

PostHog Cloud

@corywatilo corywatilo added bug Something isn't working right team-core-experience labels Feb 2, 2022
@corywatilo corywatilo changed the title Sorting not preserved when changing date range Sorting doesn't work by default, not preserved when changing date range Feb 17, 2022
@corywatilo
Copy link
Contributor Author

Edit: I added an example of loading a report I clicked on via a Slack link, which shows sorting in effect, but the data isn't actually sorted the way the indicator shows.

@corywatilo corywatilo changed the title Sorting doesn't work by default, not preserved when changing date range Table sorting (by sum) doesn't work by default, not preserved when changing date range Feb 17, 2022
@posthog-bot
Copy link
Contributor

This issue hasn't seen activity in two years! If you want to keep it open, post a comment or remove the stale label – otherwise this will be closed in two weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working right
Projects
Status: No status
Development

No branches or pull requests

4 participants