zetkin / app.zetkin.org

Current-generation ("Gen 3") web interface for the Zetkin Platform.
https://app.dev.zetkin.org
23 stars 53 forks source link

Invalid operator `some` in survey options Smart Search filter #2314

Open richardolsson opened 1 day ago

richardolsson commented 1 day ago

Description

Smart Search has a filter for finding people based on survey options (survey_option). The UI for configuring this filter has a "some" option, which is not valid and should be removed.

Steps to reproduce

  1. Go to https://app.dev.zetkin.org/organize/1/people
  2. Create a new list
  3. Configure the list using Smart Search
  4. Click "Add/remove people"
  5. Add a filter based on "Responses to checkbox questions"
  6. Click the operator dropdown

Expected Behaviour

The options should be "all", "any" and "none".

Actual Behaviour

The options are "all", "any", "none" and "some" (the last of which is invalid).

Screenshots (if you have any)

image

helihard commented 1 day ago

I'm on it.