This is pretty much a straight port of the same functionality from the numeric contextual filter handler. In my tests it worked fine both for single values, and when "Allow multiple values" was enabled - passing in multiple ORed values resulted in a NOT IN query.

exclude-string.patch1.98 KBOwen Barton
PASSED: [[SimpleTest]]: [MySQL] 1,658 pass(es). View
Members fund testing for the Drupal project. Drupal Association Learn more


madt’s picture

exclude-string.patch queued for re-testing.

Owen Barton’s picture

exclude-string.patch queued for re-testing.

Dean Reilly’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

This looks good to me and works as expected. Marking as reviewed & tested.

colan’s picture

We've recently switched our testing from the old to DrupalCI. Because of a bug in the new system, #2623840: Views (D7) patches not being tested, older patches must be re-uploaded. On re-uploading the patch, please set the status to "Needs Review" so that the test bot will add it to its queue.

If all tests pass, change the Status back to "Reviewed & tested by the community". We'll most likely commit the patch immediately without having to go through another round of peer review.

We apologize for the trouble, and appreciate your patience.