Filters break if current value is 0

Created on 9 March 2023, over 1 year ago
Updated 12 December 2023, 7 months ago

Problem/Motivation

If field's current value is 0, $preFilters variable in filtersCallback function of OpenagendaController is NULL. Then when trying to merge array with NULL value breaks the filter block.

Proposed resolution

"$filters += $preFilters;" instruction should be inside the if condition.

πŸ› Bug report
Status

Fixed

Version

3.4

Component

Code

Created by

πŸ‡«πŸ‡·France sgostanyan

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

Comments & Activities

Production build 0.69.0 2024