main ← upcoming-events-respect-subcategory-filter
merged 03:49PM - 15 Jul 26 UTC
Previously, the upcoming-events sidebar block and the category events calendar i…gnored a category's "subcategories"/"no subcategories" filter — the block was locked to a static per-site parameter, and the calendar always included subcategory events.
This change derives subcategory inclusion from the current category route (matching core's `includeSubcategories === !noSubcategories`), so both surfaces show exactly the events the list's filter implies.
Reported at https://meta.discourse.org/t/have-the-upcoming-events-block-respect-the-subcategory-filter-when-in-category-lists/407540