Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 296340

How to alter the search query in normal Drupal search

$
0
0

Hello All,

I want to add my custom field in the search query and based on that field it should filter the results. But I don't have much idea about how do I add my custom field in the query string.
I tried with couple of hooks like hook_search_preprocess , hook_query_alter, hook_search_execute but nothing worked.
Any other hooks to implement the search query?

Any help would be much appreciated!!
Thanks!


Viewing all articles
Browse latest Browse all 296340

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>