jquery-tablesorter 1.12.6 → 1.12.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dad82916aeb678dc8bf4d725a13478229aac98c6
4
- data.tar.gz: be61736afbcfacfcfad39a3beedbe9d23c424b10
3
+ metadata.gz: 7c455a0bdd1d4c20268962380df23e8f5ddfb9a4
4
+ data.tar.gz: a7f4ee044f7c9fdd6c0cdd3e212e3c9e4937c523
5
5
  SHA512:
6
- metadata.gz: b60c0de8ee6f20f55e5c1e393ca69a3f53d8fc50eef292152fcd57d18ef465ea64bb45b9dd00903483fb5aaf12f3cf833fab0cd0ec17d72f1bba02436417a83b
7
- data.tar.gz: 13c349069d081c29bffffdac92708e18b6cfff3a8bdc9ccfe78e6a19072940a89a854527fae4a687ca53811637a1fbf8bdcb2f0d2b023e88107536607837acc4
6
+ metadata.gz: a4a42e44805dc3e79d49dbfb1d9ab46331ff5c18861fb8833cf4db60566e4a2c5f75bbc71fca95267b2367fdb546482304826c05902463eb2235f5fe9c024f59
7
+ data.tar.gz: 33b80af01864c6858f1e9dd8c65726683be68ed68f7338fe6265a2c46765863bb5456521fa2c92baad05287087f1a0db4d979810bfc0e2ef4f4c001755387a6d
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Simple integration of jquery-tablesorter into the asset pipeline.
6
6
 
7
- Current tablesorter version: 2.17.6 (8/1/2014), [documentation]
7
+ Current tablesorter version: 2.17.7 (8/9/2014), [documentation]
8
8
 
9
9
  Any issue associated with the js/css files, please report to [Mottie's fork].
10
10
 
@@ -1,3 +1,3 @@
1
1
  module JqueryTablesorter
2
- VERSION = '1.12.6'
2
+ VERSION = '1.12.7'
3
3
  end
@@ -1,5 +1,5 @@
1
1
  /**!
2
- * TableSorter 2.17.6 - Client-side table sorting with ease!
2
+ * TableSorter 2.17.7 - Client-side table sorting with ease!
3
3
  * @requires jQuery v1.2.6+
4
4
  *
5
5
  * Copyright (c) 2007 Christian Bach
@@ -24,7 +24,7 @@
24
24
 
25
25
  var ts = this;
26
26
 
27
- ts.version = "2.17.6";
27
+ ts.version = "2.17.7";
28
28
 
29
29
  ts.parsers = [];
30
30
  ts.widgets = [];
@@ -396,7 +396,6 @@
396
396
  if ($bk.length && !$bk.hasClass(c.cssInfoBlock)) {
397
397
  // get tbody
398
398
  $tb = ts.processTbody(table, $bk, true);
399
- $tb.children().detach(); // remove rows
400
399
  n = cc[k].normalized;
401
400
  totalRows = n.length;
402
401
  for (i = 0; i < totalRows; i++) {
@@ -1,4 +1,4 @@
1
- /*! tableSorter 2.16+ widgets - updated 8/1/2014 (v2.17.6)
1
+ /*! tableSorter 2.16+ widgets - updated 8/9/2014 (v2.17.7)
2
2
  *
3
3
  * Column Styles
4
4
  * Column Filters
@@ -1140,7 +1140,8 @@ ts.filter = {
1140
1140
  result = showRow; // if showRow is true, show that row
1141
1141
 
1142
1142
  // in case select filter option has a different value vs text "a - z|A through Z"
1143
- ffxn = c.$filters.eq(columnIndex).find('select option:selected').attr('data-function-name') || '';
1143
+ ffxn = wo.filter_columnFilters ?
1144
+ c.$filters.add(c.$externalFilters).filter('[data-column="'+ columnIndex + '"]').find('select option:selected').attr('data-function-name') || '' : '';
1144
1145
 
1145
1146
  // replace accents - see #357
1146
1147
  filters[columnIndex] = c.sortLocaleCompare ? ts.replaceAccents(filters[columnIndex]) : filters[columnIndex];
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery-tablesorter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.6
4
+ version: 1.12.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jun Lin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-03 00:00:00.000000000 Z
12
+ date: 2014-08-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties