修复搜索时部分参数被过滤的BUG

pull/18/head
Karson 2017-09-18 21:15:05 +08:00
parent c29e0accc7
commit a52a8a1a25
2 changed files with 4 additions and 4 deletions

View File

@ -367,8 +367,8 @@
var params = getQueryParams(this.options.queryParams({}), searchQuery, true);
this.trigger('common-search', this, params, searchQuery);
this.options.pageNumber = 1;
this.options.queryParams = function () {
return params;
this.options.queryParams = function (options) {
return $.extend({}, options, params);
};
this.refresh({query: params});
};

View File

@ -9275,8 +9275,8 @@ return d.keepInvalid=a,l},l.datepickerInput=function(a){if(0===arguments.length)
var params = getQueryParams(this.options.queryParams({}), searchQuery, true);
this.trigger('common-search', this, params, searchQuery);
this.options.pageNumber = 1;
this.options.queryParams = function () {
return params;
this.options.queryParams = function (options) {
return $.extend({}, options, params);
};
this.refresh({query: params});
};