Views Filter Stripper

Categories

Component ID

2660818

Component name

Views Filter Stripper

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

A simple plugin for Views to strip input of leading and trailing spaces, before passing it on for filtering as per normal.

Automatically adds a checkbox to the Views UI (see screenshot) of any string (i.e. text) filter on your site, allowing you to activate the above behaviour where desired.

This module was written because the patch suggested in #1301746: Extra spaces in exposed filters and incorrect results hadn't been applied for years. And I don't like having patched modules on my system. They're a maintenance burden.