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.
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/faqThis 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=searchtermand for the other page tree:
http://127.0.0.1:8000/de/dokumentation/search/?q=searchtermhttp://127.0.0.1:8000/de/faq/search/?q=searchtermIn all cases only search results are shown within the current path. So for
/blog, only blog entries and in/de/dokumentationonly 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.