Looking at the hooks altering the search results- in 6.x we had a lame "namespace" parameter.
In 7.x we need to be able to load the relevant search environment or look at the query parameters, so we should at least pass in the $query object to these hooks.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1341854-1.patch | 1.9 KB | pwolanin |
Comments
Comment #1
pwolanin commentedComment #2
pwolanin commentedcommitted
Comment #3
pwolanin commentedDoes this make sense, or should we just pass the environment ID.
Here's an example of how I'm trying to use it in the multisite patch: