We have to change the results of saved searches by custom needs. So we suggest to add an alter hook to make it possible.

Comments

drunken monkey’s picture

Project: Search API Saved Searches » Search API
Component: Code » Framework
StatusFileSize
new1.52 KB

How about instead having the hook available for all Search API searches? You can just use the "search id" option to filter out your specific saved search queries. (We already have the hook in D8 now, so it's really just oversight we didn't already add it in D7, too.)
Patch attached.

drunken monkey’s picture

Status: Needs review » Fixed

Committed.
If you feel there should still be a dedicated hook for the autocomplete module, please open a new issue for that and explain why you think it's necessary.

  • drunken monkey committed 8e468fd on 7.x-1.x
    Issue #2387161 by drunken monkey: Added a hook for altering search...

Status: Fixed » Closed (fixed)

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