Resolve an issue where collection nodes sometimes wouldn't sort properly.

This commit is contained in:
Surinder Kumar 2017-07-18 16:31:05 +01:00 committed by Dave Page
parent 659aeeb58e
commit b90d368ee7

View File

@ -119,6 +119,7 @@
// extract the values from the models // extract the values from the models
var l = func(left, attr), r = func(right, attr), t; var l = func(left, attr), r = func(right, attr), t;
if (_.isUndefined(l) || _.isUndefined(r)) return;
var types = ['number-cell', 'integer-cell']; var types = ['number-cell', 'integer-cell'];
if (_.include(types, type)) { if (_.include(types, type)) {