Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can I limit the sidebar search to current space only? Even after a search?

IanC
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 13, 2017

I want to limit what my search results show to the current space only. The reasoning is we need to limit our users to the current version of the space.

I want to remove the ability to switch spaces or search all spaces and I want the search sidebar to be limited to the current space.

1 answer

0 votes
Thomas B
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 13, 2017

I believe so. I'm not sure what you mean about the search sidebar, but if you go into edit a page and you clock on the macro you can see Search Options. Just change the "Restrict to this Space Key" to the key of your Knowledge Base or Space. 

IanC
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 26, 2017

Hello Thomas,

Thanks for the reply

Here you can see my Livemacro

{livesearch:spaceKey=@self|size=medium|placeholder=Search this space}


So this will initially only search the current space @self. But after you search you can see this screen:

 Search_results.PNG

You can just "X" out of the space and then search anywhere in the instance.

 

Any Ideas?

Like Tom Hawkins likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events