mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
search-commercial: fix endpoint typo
* Fixes the search endpoint typo (comma) * Fixes the label field name Signed-off-by: Jiri Fiala <jfiala@redhat.com>
This commit is contained in:
committed by
openshift-cherrypick-robot
parent
324732e918
commit
cd3344be59
@@ -53,7 +53,7 @@ function hcsearch(searchParams) {
|
||||
// the "searchprovider" is to return a JSON response in the expected format
|
||||
var searchprovider = "https://search.help.openshift.com/json";
|
||||
var searchReq = { "q" : searchParams.q + searchParams.urlFilter,
|
||||
"l" : searchParams.label,
|
||||
"fields.label" : searchParams.label,
|
||||
"si" : searchParams.si } // q = query, l = label
|
||||
|
||||
hcMoreBtn.hide();
|
||||
|
||||
@@ -200,9 +200,9 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||
var hcSearchResult = $("#hc-search-results");
|
||||
|
||||
// the "searchprovider" is to return a JSON response in the expected format
|
||||
var searchprovider = "https://search,help.openshift.com/json";
|
||||
var searchprovider = "https://search.help.openshift.com/json";
|
||||
var searchReq = { "q" : searchParams.q + searchParams.urlFilter,
|
||||
"l" : searchParams.label,
|
||||
"fields.label" : searchParams.label,
|
||||
"si" : searchParams.si } // q = query, l = label
|
||||
|
||||
hcMoreBtn.hide();
|
||||
|
||||
Reference in New Issue
Block a user