Grouped filters with a value of zero do not show when editing the filter.

Created on 26 June 2023, about 1 year ago
Updated 9 July 2023, about 1 year ago

Problem/Motivation

Grouped filters with a value of zero do not show when editing the filter. This is probably because '0' is an "empty" value according to PHP.

Steps to reproduce

  1. Create a view with a grouped filter (e.g. on user ID).
  2. Have one of the groupings use "Is equal to" or "Is not equal to", and a value of "0".
  3. Save the view.
  4. Then, edit the grouped filter, and where you entered "0", the HTML input is now empty, and the UI complains that you have not entered a required value.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Fixed

Version

10.1 ✨

Component
Views UIΒ  β†’

Last updated 9 days ago

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024