|
|
@ -1134,6 +1134,7 @@ $.fn.search.settings = { |
|
|
|
price : 'price', // result price
|
|
|
|
results : 'results', // array of results (standard)
|
|
|
|
title : 'title', // result title
|
|
|
|
url : 'url', // result url
|
|
|
|
action : 'action', // "view more" object name
|
|
|
|
actionText : 'text', // "view more" text
|
|
|
|
actionURL : 'url' // "view more" url
|
|
|
@ -1211,8 +1212,8 @@ $.fn.search.settings = { |
|
|
|
|
|
|
|
// each item inside category
|
|
|
|
$.each(category.results, function(index, result) { |
|
|
|
if(response[fields.url]) { |
|
|
|
html += '<a class="result" href="' + response[fields.url] + '">'; |
|
|
|
if(result[fields.url]) { |
|
|
|
html += '<a class="result" href="' + result[fields.url] + '">'; |
|
|
|
} |
|
|
|
else { |
|
|
|
html += '<a class="result">'; |
|
|
@ -1262,8 +1263,8 @@ $.fn.search.settings = { |
|
|
|
|
|
|
|
// each result
|
|
|
|
$.each(response[fields.results], function(index, result) { |
|
|
|
if(response[fields.url]) { |
|
|
|
html += '<a class="result" href="' + response[fields.url] + '">'; |
|
|
|
if(result[fields.url]) { |
|
|
|
html += '<a class="result" href="' + result[fields.url] + '">'; |
|
|
|
} |
|
|
|
else { |
|
|
|
html += '<a class="result">'; |
|
|
|