Magento\Search\Helper\getSuggestUrl() not used in search template #6802
Labels
bug report
Component: Search
Fixed in 2.2.x
The issue has been fixed in 2.2 release line
Fixed in 2.3.x
The issue has been fixed in 2.3 release line
Issue: Clear Description
Gate 2 Passed. Manual verification of the issue description passed
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Issue: Format is valid
Gate 1 Passed. Automatic verification of issue format passed
Issue: Ready for Work
Gate 4. Acknowledged. Issue is added to backlog and ready for development
Reproduced on 2.1.x
The issue has been reproduced on latest 2.1 release
Reproduced on 2.2.x
The issue has been reproduced on latest 2.2 release
Reproduced on 2.3.x
The issue has been reproduced on latest 2.3 release
Preconditions
Steps to reproduce
Expected result
Actual result
The problem is that
getSuggestUrl()
is never used anywhere in the core code. Instead,magento/module-search/view/frontend/templates/form.mini.phtml
contains the hard coded route:This makes it hard to implement a useful autosuggest feature, especially since it might very well be a URL that's not going to a Magento controller.
The text was updated successfully, but these errors were encountered: