8000 Filters on survey results are not applied to the Survey performance section · Issue #31413 · PostHog/posthog · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Filters on survey results are not applied to the Survey performance section #31413

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

Closed
lucasheriques opened this issue Apr 21, 2025 · 0 comments · Fixed by #31456
Closed

Filters on survey results are not applied to the Survey performance section #31413

lucasheriques opened this issue Apr 21, 2025 · 0 comments · Fixed by #31456
Assignees
Labels
bug Something isn't working right feature/surveys

Comments

@lucasheriques
Copy link
Contributor

Bug Description

Any filters added in the Surveys screen do not change the Survey performance stats. The reason is that that component is using the /survey/{survey_id/stats endpoint.

What we should do instead:

  1. Similarly to how we use the other queries for responses, build the query in the frontend
  2. And then apply the filters in the query directly

How to reproduce

  1. Go to a survey results page
  2. Add filters to the survey
  3. Notice how the numbers on survey performance do not change

Additional context

https://posthoghelp.zendesk.com/agent/tickets/29340

Debug info

- [ ] PostHog Cloud, Debug information: [please copy/paste from https://us.posthog.com/settings/project-details#variables or https://eu.posthog.com/settings/project-details#variables]
- [ ] PostHog Hobby self-hosted with `docker compose`, version/commit: [please provide]
- [ ] PostHog self-hosted with Kubernetes (deprecated, see [`Sunsetting Kubernetes support`](https://posthog.com/blog/sunsetting-helm-support-posthog)), version/commit: [please provide]
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 feature/surveys
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
0