This nifty little technique lets you display taxonomy pages as a View:
e.g. the end user clicks on a taxonomy term and all the terms on that page are displayed, but instead of being in a standard Drupal list, they are displayed as a view.

Is there anything similar that lets you display Drupal search results as view?
e.g. the end user performs a search (using the core Drupal search), but his/her results are displayed as a View.


sun’s picture

Status: Active » Closed (won't fix)

Not without a fair amount of custom PHP code.

Sorry, unfortunately this request is way too specific. Please have a look at the issue queue - Views maintainers are buried already. You might want to try to get further support at Additionally, the answer to your question might be covered in the handbooks at already.
If you were able to solve this issue on your own in the meantime, you might want to add the involved steps to this closed issue, so other users searching for a similar solution might find it.

big_smile’s picture

I finally found the solution.

Simply follow this tutorial with a few additions:
In the section titled "Provide a page view", use a table or list view for step 3.
In the section titled "Adding fields", add the fields that are relevant to your view.

I hope this helps someone who has the same situation as me.

sunfish’s picture

I have the same problem but unfortunately views fastsearch is not supported in drupal 6.
The request may be "too specifc" as the maintainer called it, but the ability to display search results the same way as a customized view is absolutely essential in many applications, such as online commerce.

Byfred’s picture

Title: Display Search results as a View? » I GOT IT! YES!!!

After hours and hours researching, I finally manage a way to display search results in views.

So, here we go:

First you will need this module: (allow use search terms as arguments)

1) Create a view with Page display
2) Add a argument "Search: term"
3) Add any filters and fields you might use
4) IMPORTANT: Set the page path to search/node/%
5) Done!

Now, when you search something, the results will be shown on this view! xD

Thank you all

Byfred’s picture

Title: I GOT IT! YES!!! » How to display search results in views
Byfred’s picture

Status: Closed (won't fix) » Closed (fixed)
Kris D.’s picture

this solution work fine form me
i only have to add this path to the page view search/node/%

Very simple solution!

vanithasaran’s picture

Version: 5.x-1.6 » 6.x-2.0

Hi BYfred and Kris Darias,

i am also with the same problem. please tell me how to setup the "page setting"?
and arguments you mentioned like "search =term"
that means clikc the arguments, under the group use node and set the argument as whatever we want right? pls help me.

ktzocalo’s picture

Version: 6.x-2.0 » 7.x-3.4
Component: Miscellaneous » search data
Category: support » bug
Status: Closed (fixed) » Needs work

The "Views Handler Argument Search" module suggested by ByFred doesn't appear to work with D7. When trying to add the argument (contextual filter in D7) views says that the handler is missing/broken.

I disabled the module and now I am able to add "search: search terms" as a contextual filer without an error message. So it seems this module is not needed in D7 and you can follow the ByFreds steps without it.


semei’s picture

I can't find anything "Search"-related in my contextual filter in Views 3/Drupal 7. Has this feature been removed?

Media Crumb’s picture

Me either. Is this function gone in D7?’s picture

Today I implemented a display of search results in views in one of my projects (as described above).

Doing so I used Drupal 7.22 and Views 7.x-3.7.

@ktzocalo: The same happened to me. Apparently there is no need to install the module as suggested by Byfred. In contrary, this installations creates the error as described. I can confirm, that the uninstallation eliminates the error and that the view can be configured properly thereafter.

@semei and Media Crumb: The name of the contetxtual filter has sightly changed: "Search: Search Terms"

Thus the solution for Drupal 7.22 and Views 7.x-3.7 is:

1) Create a view with Page display
2) Add the contexutal filter "Search: Search Terms"
3) Add any filters and fields you might use
4) Set the page path to search/node/%
5) Done!

semei’s picture

This would be very nice, but I do not see the contextual filter "Search: Search Terms". Do you have any other modules installed that provide this filter?

Edit: Apparently this filter only exists for views of nodes but not for views on file entitites. I filed a feature request for this:

mariocantor’s picture

Today, I implemented the solution number 4, in my drupal 7.22 version... when I search for something JUST the view title shows up... I followed the all the steps? any idea what's wrong?

meshweta’s picture

Subscribing ...

lsabug’s picture

While #12 works with the search/node/% path the problem is that it overtakes the regular search box results.

If you enter a search word using Drupal's search box it defaults to whatever your page view looks like. For me, this was not the desired result.

crownjoseph43’s picture

Issue summary: View changes

I am using drupal 7 and #12 worked for me.

I did not have to use an extra module. I just created a page view with all the information (what i wanted to show on the search page) in it. And then added a contextual filter and changed the view page path.