Best way to link to an 'in-category' search?


(Bart) #1

Hi,

We’d like to help our users search in our support forum by including a link or search field in a sticky message. I’ve tried using a link that contains the ‘category:’ filter, like:

http://forum.sketchfab.com/search?q=category%3Asupport

While this works, it also leaves the text ‘category:support’ in the search box and we feel like this may be confusing (many users may just delete that text and enter their query) :

Is there a way around this? Or even better, is there a way that we can embed the search field directly into a post?

Thanks!


(Sam Saffron) #2

I need to clean some internals up, but you have

https://meta.discourse.org/search?context=category&context_id=1&q=Test&skip_context=false


(Bart) #3

Brilliant, thanks! It worked (although finding the category ID was a bit of a challenge :wink: