Forum Discussion
There is no parameter for the search component that lets you scope the search to a node or conversation style.
You could probably use javascript to add a hidden field to the form for the "location" parameter, set to "board%3A" + boardName
Obviously that is a bit hacky and not ideal, but I don't think the "location" parameter will change unless we add another version of the search form (in which case you would be able to self-upgrade and fix it).
-Doug
- miikka9 years agoMaven
Thanks DougS,
for the clarification and the suggestion. This sounds a bit hacky but definitely is one option. The other option I was thinking about was to have the search granularity element in the search form (it defaults correctly to the ideation board) and then just hide it using CSS.
So I'll test which approach works better and is less hacky.
And if there's no official development idea posted for this kind of parameter, I can post that too for tracking purposes.
Cheers,
.M
- tealiumjustin7 years agoExpert
miikka I used the JavaScript from this post to customize the search for the Ideas section, to hide the granularity and restrict Ideas search just to Ideas.
Related Content
- 5 years ago
- 10 years ago