Content cannot be found using Views Exposed Filter if name contains special character

Created on 6 August 2024, 4 months ago

I have several users who have added their first name and their nickname to their profile like this:

Susanne "Susie"

I added the Name field as an exposed filter in my view. I tried both "contains" and "contains any word". When I search for Susie in my member directory, this user is not returned as a result.

I then tried adding a separate "nickname" text field, and then added an exposed Combined Fields Filter to the view using the Name field and the Nickname field. However, the Name field appears to not work at all with the Combined Fields Filter.

How can I either get the exposed Name field filter to return the value in quotation marks, or how can I make the Name field work with the Combined Fields Filter?

πŸ’¬ Support request
Status

Active

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States hockey2112

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

Comments & Activities

  • Issue created by @hockey2112
  • πŸ‡ΊπŸ‡ΈUnited States hockey2112

    Workaround: I wasn't using the "Generational" field, so I relabeled that as "Nickname", and created a new format like this:

    ((((t+ig)+(i="s-")+im)+if))+jc

    The bolded part adds the Generation/Nickname value in the proper location, wrapped in quotation marks (which are hidden if no Generational value exists).

Production build 0.71.5 2024