Skip to content

Simplify DiscoveryAddon admin filtering by promoted group#24655

Merged
diox merged 1 commit intomozilla:masterfrom
diox:discovery-addon-admin-filters-fix
Mar 26, 2026
Merged

Simplify DiscoveryAddon admin filtering by promoted group#24655
diox merged 1 commit intomozilla:masterfrom
diox:discovery-addon-admin-filters-fix

Conversation

@diox
Copy link
Copy Markdown
Member

@diox diox commented Mar 25, 2026

We previously allowed filtering by multiple groups at the same time but it wasn't covered by tests and it broke in Django 5.2.

This removes the custom implementation, only allowing a single promoted group to be chosen at a time - we shouldn't need that complexity in the admin, and that's less fragile code to maintain.

Fixes mozilla/addons#16146

We previously allowed filtering by multiple groups at the same time
but it wasn't covered by tests and it broke in Django 5.2.

This removes the custom implementation, only allowing a single
promoted group to be chosen at a time - we shouldn't need that
complexity in the admin, and that's less fragile code to maintain.
@diox diox requested a review from eviljeff March 25, 2026 16:58
@diox diox merged commit f98f24e into mozilla:master Mar 26, 2026
43 checks passed
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.

[Bug]: error when filtering by promoted group or by approval in admin discoveryaddon

2 participants