Clear filters of the search

Hi folks,

When I search something in my dashboard, even if I do not give any filters (where, what, when, who), I still get a lengthy URL by adding the following filter criteria to the end of the URL

+&where=conf_all&type=&lastModified=&contributor=&contributorUsername=

When I click the "Clear Filter" link, that part gets removed from the URL. Is there a way to not have filter criteria added to the search URL when I am not specifying any filters please?

Thank you

5 answers

0 vote
Thomas Schlegel Community Champion May 28, 2012

Jira ? Confluence ? Other Application ? You should ask more precise or enter a label for the application.

Hi Thomas,

For example, please check this link:

https://confluence.atlassian.com/dosearchsite.action?queryString=dashboard&where=conf_all&type=&lastModified=&contributor=&contributorUsername=

I searched the confluence dashboard with no filter criteria given. I just don't want the lengthy URL with null filter criteria. Any idea how to remove this please?

Also the most recent content doesn't seem to appear first in the confluence search :(

0 vote

Ah, yes, you've run into Atlassian's approach to searching. The search in Confluence is weighted towards personal spaces and recent updates - useful for some installations, and utterly broken for others. See https://confluence.atlassian.com/display/DOC/Ranking+of+Search+Results for that.

I'm also not entirely sure I understand the original question - what's wrong with an empty link?

Well the problem is when i search, the content is not appearing according to "last modified date" either. I am not sure how confluence lists the search results.

My question is, why does confluence add filter criteria to the search URL when no criteria is given?

Thanks for all who replied

It lists the results weighted by the order I gave on the link in a previous comment.

As for the criteria it puts in the url, technically, you have given it criteria. Of "match anything in this field". Not that it really matters - good code will capture urls without a full list of criteria, but it's nicer to explicitly tell the target "user has definitely put nothing in there". (That's just my opinion, I have no idea if it's good practice). I'm mildly curious as to why you ask too

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Posted 10 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

33 views 0 5
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you