Allow filtering by multiple countries and locales for a single recipe

RESOLVED FIXED

Status

RESOLVED FIXED
3 years ago
2 years ago

People

(Reporter: mkelly, Assigned: mythmon)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
The locale and country filters currently limit a recipe to a single locale and country combination. We want to change this so that multiple countries and locales can be selected for filtering on a single recipe. We're essentially changing the dropdown in the admin to a multi-select.

The logic is the same; a recipe matches a client if their locale matches _any_ of the locales specified for the recipe, and the same goes for country. If both are specified, then both fields must match.
(Reporter)

Updated

3 years ago
Blocks: 1248319
(Assignee)

Updated

3 years ago
Assignee: nobody → mcooper
Status: NEW → ASSIGNED

Comment 1

3 years ago
Commit pushed to master at https://github.com/mozilla/normandy

https://github.com/mozilla/normandy/commit/060dae782c3507444402a8c120d963272c925bdf
Make Recipe locale and country selection many-to-many

Fixes bug 1248263.

Updated

3 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Component: SHIELD → General
Product: Websites → Normandy
You need to log in before you can comment on or make changes to this bug.