Describe the bug
In some circumstances, instead of "All products" details disclosure, I get literally "Menu title" emitted there.
Preconditions
<1024px narrow window
Steps to reproduce
- Go to https://support.mozilla.org/en-US/kb/view-web-pages-reader-view-firefox-ios
- Scroll to get searchbox in sticky nav
- Search for "test"
- Check what product or topic you're filtered to, or try to change the filter.
Expected behavior
Like on https://support.mozilla.org/en-US/ search for "test" and note "Filter by product" › "All products".
Actual behavior
Starting from a product page like https://support.mozilla.org/en-US/kb/view-web-pages-reader-view-firefox-ios searching for "test" yields "Filter by product" › "Menu title".
Screenshots/Screencasts
Desktop (please complete the following information):
Additional context
This seems to appear in https://github.com/mozilla/kitsune/blob/fec4bc4a/kitsune/sumo/static/sumo/tpl/search-results.njk#L8 — and is probably intended to get replaced on init with a selection according to https://github.com/mozilla/kitsune/blob/fec4bc4a/kitsune/sumo/static/sumo/js/protocol-details-init.js#L21
Describe the bug
In some circumstances, instead of "All products" details disclosure, I get literally "Menu title" emitted there.
Preconditions
<1024px narrow window
Steps to reproduce
Expected behavior
Like on https://support.mozilla.org/en-US/ search for "test" and note "Filter by product" › "All products".
Actual behavior
Starting from a product page like https://support.mozilla.org/en-US/kb/view-web-pages-reader-view-firefox-ios searching for "test" yields "Filter by product" › "Menu title".
Screenshots/Screencasts
Desktop (please complete the following information):
Additional context
This seems to appear in https://github.com/mozilla/kitsune/blob/fec4bc4a/kitsune/sumo/static/sumo/tpl/search-results.njk#L8 — and is probably intended to get replaced on init with a selection according to https://github.com/mozilla/kitsune/blob/fec4bc4a/kitsune/sumo/static/sumo/js/protocol-details-init.js#L21