Related to #1287924: There should be an alter hook to manipulate search keywords.

If the related issue is incorporated into core, a similar patch would be necessary for page manager's search task.

Without a patch here, the other hooks fire, but if you've got a view that receives args from the search panel page, those args wouldn't have been altered.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

willvincent’s picture

This patch seems to take care of the issue for me.

Ideally one should apply the patch from the related core issue as well as this patch, though with drupal_alter that doesn't appear necessary.

Attached is a version based on the current git 7.x-1.x dev branch, and an older p0 format version that can be easily applied with drush make.

willvincent’s picture

Apparently I'm full of fail and syntax errors today.

Here's a syntactically correct version of the above.

merlinofchaos’s picture

Status: Needs review » Fixed

Committed #2. I figure there's no problem committing ahead of core.

If somehow core commits a different alter hook name, we'll have to adjust.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.