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

Please support breadcrumbs in search results #1173

Open
j3ll3yfi5h opened this issue Jun 3, 2024 · 4 comments
Open

Please support breadcrumbs in search results #1173

j3ll3yfi5h opened this issue Jun 3, 2024 · 4 comments

Comments

@j3ll3yfi5h
Copy link

Unfortunately it's currently not possible to output breadcrumbs for search results. The support would improve the experience for search results and help selecting the right result.

Or is it even a bug?

@ryanmitchell
Copy link

Can you explain a bit more about what you mean by breadcrumbs in search results? Maybe with a screenshot or example?

@j3ll3yfi5h
Copy link
Author

@ryanmitchell I'd like to use {{ nav:breadcrumbs }} (Docs) inside the {{ search:results }} tag pair, but it's only returning the search pages breadcrumbs and not the results breadcrumbs.

A bit clearer?

@jasonvarga
Copy link
Member

Breadcrumbs work by the url of the page.

e.g. if you're on /a/b/c/d then it'll show you a > b > c.

If you're on /search-results that's what you'll get.

Sounds like it's working fine. It's not really supposed to be put in a loop or context aware, but that's not a horrible request.

@j3ll3yfi5h
Copy link
Author

I see. So no bug then, but a FR.👌🏻

Interestingly, we have already received this enquiry for the third time in two months. 😅

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

3 participants