It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Ian Crouch Apr 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 Beck Apr 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. 

Ian Crouch Apr 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?

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

1,156 views 7 18
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you