Filters break if current value is 0

Created on 9 March 2023, almost 2 years ago
Updated 12 December 2023, about 1 year 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.71.5 2024