This project is read-only.

Filter On Multiple Tags

Topics: General, Writing modules
Dec 28, 2011 at 8:49 AM

Is there a way to filter on multiple tags simultaneously?  Something like this:

         @Html.ActionLink("Multiple Tags", "Search", "Home", new {
                area = "Orchard.Tags",
                tagName = "red,pose-guide"
            }, null

Of course the above doesn't work, but it gets the point across.

Dec 28, 2011 at 8:59 AM

Sure, write your own controller that does a special query with an or or an and between the tags.

Dec 28, 2011 at 9:13 AM

Asking this a bit differently, is there a URI syntax that Orhcard permits for multiple tags to specified for search?  This does not work:



Dec 28, 2011 at 9:17 AM

No, you need to write your own controller.