Skip to content

Commit 434c8d3

Browse files
committed
Merge remote-tracking branch 'remotes/michalcarson/master' into k0stya-rowspan; see also mleibman#1019 mleibman#1019
Conflicts: slick.dataview.js
2 parents 91e4aaa + 110532b commit 434c8d3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

slick.dataview.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,11 @@
9999
var groupingInfoDefaults = {
100100
getter: null,
101101
formatter: null,
102-
comparer: function (a, b) {
103-
return a.value - b.value;
102+
comparer: function(a, b) {
103+
return (a.value === b.value ?
104+
0 :
105+
(a.value > b.value ? 1 : -1)
106+
);
104107
},
105108
predefinedValues: [],
106109
aggregators: [],

0 commit comments

Comments
 (0)