I have a page view with exposed filters (4 checkboxes with ajax calling) which user can change.
I want to change default search, to searching only results which appears in this view.
How can I do that?
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community
Views filter populate should help you with your issue. What you need to do is don't expose the Title, Body, and Location in the Filter Criteria of your view. Then add Populate filters and expose it and select Title, Body, and Location as your filters.
Click on the Global:Populate filters (exposed) Under Filter Criteria, make sure your body and location are checked.
Also, make sure your Operator are set correctly. For instance, set your Filter Criteria to something like this: