Whitespace in exposed filters returns incorrect results

Created on 25 April 2024, 12 months ago

Problem/Motivation

Whitespaces at the beginning or end of text entered into an exposed filter return no results.

Steps to reproduce

Example: If you have something with "foo" and you filter for "foo" you'll get the result. But, if you filter for "foo " (with a space at the end), you'll get no result.

Proposed resolution

trim the entered text before passing to query.

🐛 Bug report
Status

Active

Version

11.0 🔥

Component
Views 

Last updated about 8 hours ago

Created by

🇮🇳India gaurav_manerkar Vasco Da Gama, Goa

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

Comments & Activities

Production build 0.71.5 2024