Make contextual filter case insensitive

Created on 5 December 2022, almost 2 years ago
Updated 7 February 2023, over 1 year ago

Problem/Motivation

Is it possible to add an option to the contextual filter JSON Field to be case insensitive?

✨ Feature request
Status

Active

Version

1.4

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands zebda

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States pcrats33

    I have the same request, except I am not using a contextual filter, just a filter. My JSON data is all uppercase, and I have to type the search values as uppercase or nothing is found in the filter. Does anyone have any suggestions on how I can hook into the search filter and manually uppercase the input (or uppercase the comparison would be even better)? I haven't coded Drupal modules since v7, so any code samples, hook names, or resource links would be greatly appreciated.

Production build 0.71.5 2024