diff --git a/src/definitions/modules/search.js b/src/definitions/modules/search.js
index a27003b2e..adadb5011 100644
--- a/src/definitions/modules/search.js
+++ b/src/definitions/modules/search.js
@@ -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 += '';
+ if(result[fields.url]) {
+ html += '';
}
else {
html += '';
@@ -1262,8 +1263,8 @@ $.fn.search.settings = {
// each result
$.each(response[fields.results], function(index, result) {
- if(response[fields.url]) {
- html += '';
+ if(result[fields.url]) {
+ html += '';
}
else {
html += '';