Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.2.0
-
None
Description
ezajaxssearch.js has following part:
var performSearch = function() { var searchString = Y.get(ret.cfg.searchstring).get('value'); var data = 'SearchStr=' + searchString; data += '&SearchLimit=10'; data += '&SearchOffset=0'; var backendUri = ret.cfg.backendUri ? ret.cfg.backendUri : 'ezflow::search' ; if(searchString !== '') { Y.io.ez(backendUri, {on: {success: successCallBack}, method: 'POST', data: data }); } }
It allows to transfer from template only search string, but not SearchLimit, SearchOffset, or SearchContentClassID
Because of this limitation , i cannot make , for example, two search boxes: one for search in blog with limit 10, and another in articles with limit 5.
I think, here it should take all parameters supported by search engine.