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

Comparisons pagination fixes #4697

Open
wants to merge 6 commits into
base: comparisons-fe
Choose a base branch
from

Conversation

macobo
Copy link
Contributor

@macobo macobo commented Oct 17, 2024

Changes

Depends on #4692

Currently, when doing comparisons when breaking down by e.g. visit:browser dimension, zeroes would be incorrectly applied when small limits are in place. This is because the top 10 browsers today might not be the same as in previous period.

This PR fixes that by OR-ing together all dimension values from main result in comparison filter. Additionally, this filter is ignored when calculating totals as is needed for percentage/conversion rate calculations.

Rather than test every old endpoint separately, this PR adds a test-only endpoint for testing query logic as well.

@macobo macobo changed the title Breakdown comparisons: pagination fixes Comparisons pagination fixes Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant