Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By katten-kits on
Hi everyone,
I have a contextual filter that receives a default value from PHP code and allows multiple values. I send it "UX/UI Design+Packaging"
, expecting to get this in the SQL query:
field_specialization_value IN ('UX/UI Design', 'Packaging')
But instead of just splitting on the +s, it also splits on the spaces, so I get this instead:
field_specialization_value IN ('UX/UI', 'Design', 'Packaging')
Is there any way to make it not split on the spaces?