ソースを参照

Prevent use of multiSort function after table loading when sorting server side. (#2355)

Owen Moony 8 年 前
コミット
95a14868ff

+ 1 - 1
src/extensions/multiple-sort/bootstrap-table-multiple-sort.js

@@ -257,7 +257,7 @@
             });
 
             this.$el.on('load-success.bs.table', function() {
-                if (!isSingleSort && that.options.sortPriority !== null && typeof that.options.sortPriority === 'object') {
+                if (!isSingleSort && that.options.sortPriority !== null && typeof that.options.sortPriority === 'object' && that.options.sidePagination !== 'server') {
                     that.onMultipleSort();
                 }
             });