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

Search is only working for one tree and not searching globaly #261

Open
sebastian-muthwill opened this issue Sep 8, 2022 · 0 comments
Open

Comments

@sebastian-muthwill
Copy link

Is there a chance to change the behavior of the search function?

In my project I have currently two pages under root with a tree of pages under /de
/blog
/de
/de/dokumentation
/de/faq

This is the current search behavior. When I'm on the blog page and key in a search term then the search is issued like this:
http://127.0.0.1:8000/blog/search/?q=searchterm

and for the other page tree:
http://127.0.0.1:8000/de/dokumentation/search/?q=searchterm
http://127.0.0.1:8000/de/faq/search/?q=searchterm

In all cases only search results are shown within the current path. So for /blog, only blog entries and in /de/dokumentation only the entries in subpages of Dokumentation.

My expectation would be, that the search will find all entries from root. Or at least I can include different pages in the search by setting a checkbox or similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant