pyrocms/pyrocms — pull request #2944 by ChristianGiupponi (2013-08-22 15:01:39+00:00)
Title: Search plugin and filter option

The current search plugin doesn't consider the filter option if the "uri" attrbiute is different from the default one.
With this simple fix the search work in both case.

What I have tried.

1. Insert a new record in search_index table with some keyword and associate it to a "Video" module.
2. Use the double tag search form:

`{{ search:form class="search-form" }}

{{ /search:form }}`

3. Submit the form to the default search/result and it works.
4. Redirect the default uri to a custom:

`{{ search:form class="search-form" action="video/search" }}

{{ /search:form }}`

and buil a view with a custom code and overwrite the uri:

`{{ search:results uri="video/ricerca" limit="10" }}`

and the search fails.
With my fix both this operation works.

Please review this :)