|
|
@ -243,7 +243,7 @@ $.fn.search = function(parameters) { |
|
|
|
} |
|
|
|
else { |
|
|
|
module.debug("Querying for '" + searchTerm + "'"); |
|
|
|
if($.isPlainObject(settings.source)) { |
|
|
|
if($.isPlainObject(settings.source) || $.isArray(settings.source)) { |
|
|
|
module.search.local(searchTerm); |
|
|
|
} |
|
|
|
else if(settings.apiSettings) { |
|
|
@ -811,4 +811,4 @@ $.fn.search.settings = { |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|
})( jQuery, window , document ); |
|
|
|
})( jQuery, window , document ); |