Fatal PHP errors if "Show the SQL query" is enabled for Views' previews

Created on 16 January 2025, 3 months ago

Problem/Motivation

When enabling "Show the SQL query" in Views' settings and a filter for a JSON value is added, a PHP error happens on each preview because filters are passed as array where the preview expects a string.

In general, the way filters are passed around in this module is a hack and against the API, but that would require a bigger fix. A quick fix is to serialize the filters array to become a string.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇩🇪Germany mkalkbrenner 🇩🇪

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

Comments & Activities

Production build 0.71.5 2024