|
|
@ -267,7 +267,7 @@ $.fn.search = function(parameters) { |
|
|
|
else if(settings.apiSettings) { |
|
|
|
module.search.remote(searchTerm); |
|
|
|
} |
|
|
|
else if($.api !== undefined && $.api.settings.api.search !== undefined) { |
|
|
|
else if($.fn.api !== undefined && $.api.settings.api.search !== undefined) { |
|
|
|
module.debug('Searching with default search API endpoint'); |
|
|
|
settings.apiSettings = { |
|
|
|
action: 'search' |
|
|
@ -713,7 +713,7 @@ $.fn.search.settings = { |
|
|
|
}, |
|
|
|
|
|
|
|
error : { |
|
|
|
source : 'No source or api action specified', |
|
|
|
source : 'Cannot search. No source used, and Semantic API module was not included', |
|
|
|
noResults : 'Your search returned no results', |
|
|
|
logging : 'Error in debug logging, exiting.', |
|
|
|
noTemplate : 'A valid template name was not specified.', |
|
|
|