Reputation: 913
Is there a way for the Drupal search to only search article Titles and Tags.. not the content of the article? Possibly with the Views Module?
I am using Drupal 7. I do have Views installed and Views Search does not work on Drupal 7.
Upvotes: 1
Views: 2795
Reputation: 182
There's no way using the views UI to search for both using the same textfield. You have to code for that.
The best result you can take with just the UI consists of exposing two different filters, one for the title and one for the tag. I suggest an autocomplete filter for both, this will give the user good flexibility.
Edit:
With the UI: you have to edit the view, add a new filter, choose "title" and then expose it. Then you have to repeat the same for tags.
With the code you have to look at the documentation as it's not trivial to write it here in a few lines of code and it's strictly related to what you're likely gonna do.
Upvotes: 1