Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Tablesorter doesn't correctly sort special characters #535

Closed
cstuder opened this issue Jun 26, 2017 · 0 comments · Fixed by #571
Closed

Tablesorter doesn't correctly sort special characters #535

cstuder opened this issue Jun 26, 2017 · 0 comments · Fixed by #571
Assignees
Milestone

Comments

@cstuder
Copy link
Contributor

cstuder commented Jun 26, 2017

Proposal: Add sortLocaleCompare : true to the initialisation of the tablesorter:

(function($) {
  'use strict';

  $('.table-sort').tablesorter({ sortLocaleCompare : true });

}) (jQuery);

Problem: Umlauts and accents aren't sorted correctly by default by tablesorter.js. They get sorted at the end of the alphabet instead of correctly placing them in the list.

Tablesorter.js has the feature to handle this case correctly with the option sortLocaleCompare. But because the tablesorter gets initialised by main.js, end users can't overwrite the behaviour.

@bit-pro-iew-eui bit-pro-iew-eui added this to the Next milestone Oct 11, 2017
bihorco36 added a commit to bihorco36/styleguide that referenced this issue Oct 30, 2017
almeidap added a commit that referenced this issue Nov 1, 2017
tablesorter: sort special characters #535
@bit-pro-iew-eui bit-pro-iew-eui modified the milestones: 3.3, 3.2 Nov 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants