|
@@ -246,7 +246,8 @@
|
|
|
filterControl: undefined,
|
|
filterControl: undefined,
|
|
|
filterData: undefined,
|
|
filterData: undefined,
|
|
|
filterDatepickerOptions: undefined,
|
|
filterDatepickerOptions: undefined,
|
|
|
- filterStrictSearch: false
|
|
|
|
|
|
|
+ filterStrictSearch: false,
|
|
|
|
|
+ filterLocal: true
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
$.extend($.fn.bootstrapTable.Constructor.EVENTS, {
|
|
$.extend($.fn.bootstrapTable.Constructor.EVENTS, {
|
|
@@ -364,6 +365,10 @@
|
|
|
BootstrapTable.prototype.initSearch = function () {
|
|
BootstrapTable.prototype.initSearch = function () {
|
|
|
_initSearch.apply(this, Array.prototype.slice.apply(arguments));
|
|
_initSearch.apply(this, Array.prototype.slice.apply(arguments));
|
|
|
|
|
|
|
|
|
|
+ if (! this.options.filterLocal) {
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
var that = this;
|
|
var that = this;
|
|
|
var fp = $.isEmptyObject(this.filterColumnsPartial) ? null : this.filterColumnsPartial;
|
|
var fp = $.isEmptyObject(this.filterColumnsPartial) ? null : this.filterColumnsPartial;
|
|
|
|
|
|