Fix condition check for avoiding sorting of columns.

This commit is contained in:
Dave Page 2016-09-14 12:33:54 +01:00
parent db7b8a8fa5
commit fcc81d32cc

View File

@ -42,7 +42,7 @@
// If object is of column type then do not sort
if (options.hasOwnProperty("_type") && options._type &&
(options._type != 'column' || options._type != 'catalog_object_column'))
(options._type == 'column' || options._type == 'catalog_object_column'))
return 0;
// first try and sort Hex codes or Dates