Skip to content

Sort Strategy Glitch #93

@mpayne-sds

Description

@mpayne-sds

in the default sortStrategies object for string - I've added a simple assert to string:
try {
var result = (str1+"").localeCompare(str2+"");
} catch(e) {
return 0;
}
...as if a field value was entirely numeric it threw a localeCompare is not a function error.

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions