From: Leo Koppelkamm Date: Thu, 23 Jun 2011 07:39:56 +0000 (+0000) Subject: Adding a collation test to tablesorter, fixing var ref from r90630 X-Git-Tag: 1.31.0-rc.0~29334 X-Git-Url: http://git.cyclocoop.org/wiki/Target_page?a=commitdiff_plain;h=4f28b0435d012b83297c781a6fdbd40d58f20d6a;p=lhc%2Fweb%2Fwiklou.git Adding a collation test to tablesorter, fixing var ref from r90630 --- diff --git a/resources/jquery/jquery.tablesorter.js b/resources/jquery/jquery.tablesorter.js index 3ce4c66c1f..808cf6b62c 100644 --- a/resources/jquery/jquery.tablesorter.js +++ b/resources/jquery/jquery.tablesorter.js @@ -481,7 +481,7 @@ } } if (keys.length) { - ts.collationRegex = new RegExp( '[' + ts.collationRegex.join('') + ']', 'ig' ); + ts.collationRegex = new RegExp( '[' + keys.join('') + ']', 'ig' ); } } } diff --git a/tests/qunit/index.html b/tests/qunit/index.html index 94fccbb0b8..0e1a0450c7 100644 --- a/tests/qunit/index.html +++ b/tests/qunit/index.html @@ -60,7 +60,7 @@ - +