|
|
@@ -1142,7 +1142,7 @@
|
|
|
this.trigger('post-body');
|
|
|
};
|
|
|
|
|
|
- BootstrapTable.prototype.initServer = function (silent) {
|
|
|
+ BootstrapTable.prototype.initServer = function (silent, queryparams) {
|
|
|
var that = this,
|
|
|
data = {},
|
|
|
params = {
|
|
|
@@ -1166,7 +1166,7 @@
|
|
|
order: params.sortOrder
|
|
|
};
|
|
|
}
|
|
|
- data = calculateObjectValue(this.options, this.options.queryParams, [params], data);
|
|
|
+ data = calculateObjectValue(this.options, $.extend(this.options.queryParams, queryparams || {}), [params], data);
|
|
|
|
|
|
// false to stop request
|
|
|
if (data === false) {
|
|
|
@@ -1493,7 +1493,7 @@
|
|
|
this.options.url = params.url;
|
|
|
this.options.pageNumber = 1;
|
|
|
}
|
|
|
- this.initServer(params && params.silent);
|
|
|
+ this.initServer(params && params.silent, params && params.queryparams);
|
|
|
};
|
|
|
|
|
|
BootstrapTable.prototype.showColumn = function (field) {
|