Browse Source

use the calculateObjectValue function

Dustin Utecht 6 years ago
parent
commit
1d371fb36e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/extensions/multiple-sort/bootstrap-table-multiple-sort.js

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

@@ -126,7 +126,7 @@
                         var t = that.options.queryParams;
                         that.options.queryParams = function(params) {
                             params.multiSort = that.options.sortPriority;
-                            return typeof window[t] === "function" ? window[t](params) : t(params);
+                            return $.fn.bootstrapTable.utils.calculateObjectValue(that.options, t, [params]);
                         };
                         isSingleSort=false;
                         that.initServer(that.options.silentSort);