Skip to content

Filtering does not work for fields with Value relation with Multiple selections #4477

@alex-cit

Description

@alex-cit

Description
Single select and Multi select filters do not work on fields that use Value relations widget with the option "Allow multiple selections" (when there are multiple values stored in a field). While it is possible to set up filter for such field in QGIS and use it in the mobile app, the result of filtering is always 0 features.

Environment
Production

Application (+ app version, build, operating system)
v2026.2.0, Android

Steps to reproduce

  1. Set up a Single select or Multi select Filter in QGIS for a field that is configured with Value relation with enabled multiple selections.
  2. In the mobile app, try filtering features using one or multiple values from the list.

Actual results
There are 0 features that match the filter - all features from the layer disappears from the map.

Expected results
Depends on the intented use of filters:

  • If the Single and Multi select filter is not appropriate for Value relation+multiple selection, the field should not be offered when setting up the filter in QGIS
  • If it should work also for mutiple selection fields, the app should display the appropriate result of the filter. Note that there are (at least) two options for multiselect logic: OR vs. AND.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions