Custom search in Orchard

Topics: Customizing Orchard
May 21, 2013 at 11:37 AM
Hi everyone,
How to write module custom search in orchard?I want the user to choose data (ex: from item to item ) then begin search.
has anyone got this working yet? or suggestions?

Thank you.
Best regards!
May 21, 2013 at 4:54 PM
You just need to copy/paste the search controller, and adapt the query to your needs. Instead of using the Parse method, just parse the search query as you want and use the ISearchBuilder to construct the query.
May 22, 2013 at 4:06 PM