Skip to content

feat(sortTypes): add support for `accessor` with array values when using it together with `sortType: caseInsensitive`

François Martin requested to merge fixPortal418 into master

feat(sortTypes): add support for accessor with array values when using it together with sortType: caseInsensitive

If the accessor on a column returns an array, row.values[columnId] also returns an array. Previously, if an array was returned in an accessor, this resulted in an exception, as .toLowerCase() can only be called on a string, while .toLowerCase() was called on an array in this case.

Merge request reports