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

Reset button doesn't clear Compare Previous #5916

Closed
2 tasks
joethreepwood opened this issue Sep 13, 2021 · 2 comments
Closed
2 tasks

Reset button doesn't clear Compare Previous #5916

joethreepwood opened this issue Sep 13, 2021 · 2 comments
Labels
bug Something isn't working right

Comments

@joethreepwood
Copy link
Contributor

Bug description

I built a graph with 'compare previous' engaged to compare the previous 30 days. I pressed reset to clear all filters. The compare previous button didn't untick, but the information for the previous period did disappear from the graph. As a result, 'compare previous' seemed to be enabled but the information wasn't accurate. In order to get the correct information from the previous period I needed to disengage the 'compare previous' toggle, then re-engage.

Screenshot 2021-09-13 at 13 17 38

Screenshot 2021-09-13 at 13 17 46

Screenshot 2021-09-13 at 13 17 51

Expected behavior

Pressing 'Reset' should either untick the compare previous box, or leave it check and include the relevant information.

How to reproduce

  1. Build a query comparing a previous period.
  2. Reset it.

Environment

  • PostHog Cloud
  • [x ] self-hosted PostHog (ClickHouse-based), version/commit: please provide
  • self-hosted PostHog (Postgres-based, legacy), version/commit: please provide

Additional context

Thank you for your bug report – we love squashing them!

@joethreepwood joethreepwood added the bug Something isn't working right label Sep 13, 2021
@samwinslow
Copy link
Contributor

Not to hijack the issue, but for anyone looking at this — there's an additional minor issue related to Compare Previous right here: #5918

@pauldambra
Copy link
Member

The UI has changed since this report. But also this seems to have been fixed in the nearly a year since it was reported

2022-08-24 08 02 54

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