Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order exact match search query first #11

Closed
Flynsarmy opened this issue Apr 5, 2014 · 2 comments
Closed

Order exact match search query first #11

Flynsarmy opened this issue Apr 5, 2014 · 2 comments
Assignees

Comments

@Flynsarmy
Copy link
Contributor

When I type / into the search query in the pages list, I'm more often than not looking for the index page. I'd like exact match query results to appear before other results when searching.

I sometimes don't know what the index page's title is, so using the slug is the best option.

@daftspunk
Copy link
Member

So when searching for / in the pages list, it should place the page with the URL route of / first and foremost.

Since all pages start with / this would currently return everything, when the expectation is to return the page with that exact route defined. Or at least to place it with priority in the search results (at the top).

@jekinney
Copy link

You can run a filter so the search ignores the first /. Pretty simple.

@daftspunk daftspunk self-assigned this Nov 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants