|
|
@@ -432,6 +432,7 @@ $.fn.bootstrapTable.methods.push('multipleSort')
|
|
|
$.extend($.fn.bootstrapTable.defaults, {
|
|
|
showMultiSort: false,
|
|
|
showMultiSortButton: true,
|
|
|
+ multiSortStrictSearch: false,
|
|
|
sortPriority: null,
|
|
|
onMultipleSort () {
|
|
|
return false
|
|
|
@@ -628,6 +629,11 @@ BootstrapTable.prototype.onMultipleSort = function () {
|
|
|
aa = aa.toString()
|
|
|
}
|
|
|
|
|
|
+ if (that.options.multiSortStrictSearch) {
|
|
|
+ aa = aa.toLowerCase()
|
|
|
+ bb = bb.toLowerCase()
|
|
|
+ }
|
|
|
+
|
|
|
arr1.push(
|
|
|
order * cmp(aa, bb))
|
|
|
arr2.push(
|