Skip to content

Trends: keep the second breakdown dimension across a range change - #12

Merged
almokhtarbr merged 1 commit into
mainfrom
trends-multi-breakdown
Sep 7, 2026
Merged

almokhtarbr merged 1 commit into
mainfrom
trends-multi-breakdown

Conversation

@almokhtarbr

Copy link
Copy Markdown
Owner

The event explorer already builds a group_by × second_group_by table (@multi_breakdown), but second_group_by was missing from the date-picker's hidden fields and from the "Clear" visibility check — so adjusting the date range dropped the second dimension and collapsed the view back to a single group-by.

  • add second_group_by to extra_hidden_fields on the event-explorer header
  • include it in the Clear-filters condition
  • request specs for the two-dimensional breakdown and for the hidden-field round-trip

No schema change. Suite 275 green, rubocop clean, brakeman 0.

…hange

The event explorer already computes a group_by x second_group_by table,
but second_group_by was dropped from the date-picker's hidden fields and
from the Clear-filter check, so changing the range silently collapsed a
two-dimensional breakdown back to one. Carry it through both, and cover
the two-dimensional path with request specs.
@almokhtarbr
almokhtarbr merged commit 7a0b664 into main Sep 7, 2026
2 checks passed
@almokhtarbr
almokhtarbr deleted the trends-multi-breakdown branch September 7, 2026 02:28
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