Bug #14743
closedscoped_search - auto complete not working for Capsules page
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1325799
Description of problem:
getting 404 for https://<sat6.server>/smart_proxies/auto_complete_search?search=
Version-Release number of selected component (if applicable):
6.2.0 Sanp 7.1
- this might have something to do with renaming smart proxies to capsules
foreman/production.log:
2016-04-11 10:45:31 [app] [I] Processing by SmartProxiesController#show as JSON
2016-04-11 10:45:31 [app] [I] Parameters: {"search"=>"foo", "id"=>"auto_complete_search"}
2016-04-11 10:45:31 [app] [I] Rendered common/404.html.erb within layouts/application (0.8ms)
2016-04-11 10:45:31 [app] [I] Rendered layouts/_application_content.html.erb (0.2ms)
2016-04-11 10:45:31 [app] [I] Rendered layouts/base.html.erb (0.7ms)
2016-04-11 10:45:31 [app] [I] Completed 404 Not Found in 15ms (Views: 2.6ms | ActiveRecord: 2.0ms)
How reproducible:
always
Steps to Reproduce:
1. navigate to Capsules page
2. start typing a query into a search bar
3. notice no suggestions appear, 404 in the browser console
Actual results:
404 for auto_complete url
Expected results:
auto complete works
Additional info: