[pagintaedTable] sort booleans so true floats up first
This commit is contained in:
parent
4e27267a8a
commit
6b289aa95d
|
@ -57,7 +57,8 @@ uiModules
|
|||
// use generic sort handler
|
||||
self.sort.getter = function (row) {
|
||||
var value = row[index];
|
||||
if (value && value.value != null) return value.value;
|
||||
if (value && value.value != null) value = value.value;
|
||||
if (typeof value === 'boolean') value = value ? 0 : 1;
|
||||
return value;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue