Commit 57256105 authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix bug 35689

parent 842b1da0
......@@ -2954,7 +2954,7 @@
}
})(oRule.bottom ? -1 : 1));
nc = oRule.percent ? Math.floor(nc * oRule.rank / 100) : oRule.rank;
nc = Math.max(1, oRule.percent ? Math.floor(nc * oRule.rank / 100) : oRule.rank);
var threshold = values.length >= nc ? values[nc - 1].v : o;
compareFunction = (function(rule, threshold) {
return function(row, col) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment