Skip to content

Commit

Permalink
2.30.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Mottie committed Mar 19, 2018
1 parent 7849f2e commit c74a34b
Show file tree
Hide file tree
Showing 16 changed files with 57 additions and 39 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,15 @@ If you would like to contribute, please...

View the [complete change log here](https://github.com/Mottie/tablesorter/wiki/Changes).

#### <a name="v2.30.1">Version 2.30.1</a> (2018-03-19)

* Core:
* Only validate options while debugging. Closes [issue #1528](https://github.com/Mottie/tablesorter/issues/1528)
* Pager:
* Show all rows, not pages. Fixes [issue #1529](https://github.com/Mottie/tablesorter/issues/1529)
* SaveSort:
* Fix JS error. See [issue #1525](https://github.com/Mottie/tablesorter/issues/1525)

#### <a name="v2.30.0">Version 2.30.0</a> (2018-03-18)

* Core:
Expand Down
4 changes: 2 additions & 2 deletions dist/js/extras/jquery.tablesorter.pager.min.js

Large diffs are not rendered by default.

15 changes: 9 additions & 6 deletions dist/js/jquery.tablesorter.combined.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! tablesorter (FORK) - updated 2018-03-18 (v2.30.0)*/
/*! tablesorter (FORK) - updated 2018-03-19 (v2.30.1)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) {
if (typeof define === 'function' && define.amd) {
Expand All @@ -10,7 +10,7 @@
}
}(function(jQuery) {

/*! TableSorter (FORK) v2.30.0 *//*
/*! TableSorter (FORK) v2.30.1 *//*
* Client-side table sorting with ease!
* @requires jQuery v1.2.6+
*
Expand All @@ -34,7 +34,7 @@
'use strict';
var ts = $.tablesorter = {

version : '2.30.0',
version : '2.30.1',

parsers : [],
widgets : [],
Expand Down Expand Up @@ -310,7 +310,10 @@
ts.setupParsers( c );
// start total row count at zero
c.totalRows = 0;
ts.validateOptions( c );
// only validate options while debugging. See #1528
if (c.debug) {
ts.validateOptions( c );
}
// build the cache for the tbody cells
// delayInit will delay building the cache until the user starts a sort
if ( !c.delayInit ) { ts.buildCache( c ); }
Expand Down Expand Up @@ -5988,7 +5991,7 @@

})( jQuery, window );

/*! Widget: saveSort - updated 2018-03-18 (v2.30.0) *//*
/*! Widget: saveSort - updated 2018-03-19 (v2.30.1) *//*
* Requires tablesorter v2.16+
* by Rob Garrison
*/
Expand All @@ -5998,7 +6001,7 @@

function getStoredSortList(c) {
var stored = ts.storage( c.table, 'tablesorter-savesort' );
return (stored && stored.hasOwnProperty('sortList') && $.isArray(stored.sortList)) ? stored.sortList : '';
return (stored && stored.hasOwnProperty('sortList') && $.isArray(stored.sortList)) ? stored.sortList : [];
}

function sortListChanged(c, sortList) {
Expand Down
4 changes: 2 additions & 2 deletions dist/js/jquery.tablesorter.combined.min.js

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions dist/js/jquery.tablesorter.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}
}(function(jQuery) {

/*! TableSorter (FORK) v2.30.0 *//*
/*! TableSorter (FORK) v2.30.1 *//*
* Client-side table sorting with ease!
* @requires jQuery v1.2.6+
*
Expand All @@ -32,7 +32,7 @@
'use strict';
var ts = $.tablesorter = {

version : '2.30.0',
version : '2.30.1',

parsers : [],
widgets : [],
Expand Down Expand Up @@ -308,7 +308,10 @@
ts.setupParsers( c );
// start total row count at zero
c.totalRows = 0;
ts.validateOptions( c );
// only validate options while debugging. See #1528
if (c.debug) {
ts.validateOptions( c );
}
// build the cache for the tbody cells
// delayInit will delay building the cache until the user starts a sort
if ( !c.delayInit ) { ts.buildCache( c ); }
Expand Down
2 changes: 1 addition & 1 deletion dist/js/jquery.tablesorter.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/js/jquery.tablesorter.widgets.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! tablesorter (FORK) - updated 2018-03-18 (v2.30.0)*/
/*! tablesorter (FORK) - updated 2018-03-19 (v2.30.1)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) {
if (typeof define === 'function' && define.amd) {
Expand Down Expand Up @@ -3099,7 +3099,7 @@

})( jQuery, window );

/*! Widget: saveSort - updated 2018-03-18 (v2.30.0) *//*
/*! Widget: saveSort - updated 2018-03-19 (v2.30.1) *//*
* Requires tablesorter v2.16+
* by Rob Garrison
*/
Expand All @@ -3109,7 +3109,7 @@

function getStoredSortList(c) {
var stored = ts.storage( c.table, 'tablesorter-savesort' );
return (stored && stored.hasOwnProperty('sortList') && $.isArray(stored.sortList)) ? stored.sortList : '';
return (stored && stored.hasOwnProperty('sortList') && $.isArray(stored.sortList)) ? stored.sortList : [];
}

function sortListChanged(c, sortList) {
Expand Down
4 changes: 2 additions & 2 deletions dist/js/jquery.tablesorter.widgets.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/js/widgets/widget-pager.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/js/widgets/widget-saveSort.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -496,17 +496,17 @@ <h4 id="extras">Plugins / Widgets<br>
<br><br>
</li>

<li>Pager plugin (<a href="example-pager.html">basic</a> &amp; <a href="example-pager-ajax.html">ajax</a> demos; <span class="version updated">v2.30.0</span>).</li>
<li>Pager plugin (<a href="example-pager.html">basic</a> &amp; <a href="example-pager-ajax.html">ajax</a> demos; <span class="version updated">v2.30.1</span>).</li>
<li>
Pager widget (<a href="example-widget-pager.html">basic</a> &amp; <a href="example-widget-pager-ajax.html">ajax</a> demos) (<span class="version">v2.12</span>; <span class="version updated">v2.30.0</span>).<br>
Pager widget (<a href="example-widget-pager.html">basic</a> &amp; <a href="example-widget-pager-ajax.html">ajax</a> demos) (<span class="version">v2.12</span>; <span class="version updated">v2.30.1</span>).<br>
<br>
</li>

<li><a href="example-widget-print.html">Print widget</a> (<span class="version">v2.16.4</span>; <span class="version updated">v2.25.8</span>).</li>
<li><a href="example-widget-reflow.html">Reflow widget</a> (<span class="version">v2.16</span>; <span class="version updated">v2.19.0</span>).</li>
<li><a href="example-widgets.html">Repeat headers widget</a> (v2.0.5; <span class="version updated">v2.19.0</span>).</li>
<li><span class="results">&dagger;</span> <a href="example-widget-resizable.html">Resizable columns widget</a> (v2.0.23.1; <span class="version updated">v2.29.2</span>).</li>
<li><span class="results">&dagger;</span> <a href="example-widget-savesort.html">Save sort widget</a> (v2.0.27; <span class="version updated">v2.30.0</span>).</li>
<li><span class="results">&dagger;</span> <a href="example-widget-savesort.html">Save sort widget</a> (v2.0.27; <span class="version updated">v2.30.1</span>).</li>
<li><a href="example-widget-scroller.html">Scroller widget</a> (<span class="version">v2.9</span>; <span class="version updated">v2.29.2</span>).</li>
<li><span class="label label-info">Beta</span> <a href="example-widget-sort-to-hash.html">Sort-to-hash widget</a> (<span class="version">v2.22.4</span>; <span class="version updated">v2.29.0</span>).</li>
<li><span class="label label-info">Beta</span> <a href="example-widget-sort-tbodies.html">Sort tbodies widget</a> (<span class="version">v2.22.2</span>; <span class="version updated">v2.28.0</span>).</li>
Expand Down
15 changes: 9 additions & 6 deletions js/jquery.tablesorter.combined.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██▀▀ ▀▀▀██
█████▀ ▀████▀ ██ ██ ▀████▀ ██ ██ ██ ██ ▀████▀ █████▀ ██ ██ █████▀
*/
/*! tablesorter (FORK) - updated 2018-03-18 (v2.30.0)*/
/*! tablesorter (FORK) - updated 2018-03-19 (v2.30.1)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) {
if (typeof define === 'function' && define.amd) {
Expand All @@ -16,7 +16,7 @@
}
}(function(jQuery) {

/*! TableSorter (FORK) v2.30.0 *//*
/*! TableSorter (FORK) v2.30.1 *//*
* Client-side table sorting with ease!
* @requires jQuery v1.2.6+
*
Expand All @@ -40,7 +40,7 @@
'use strict';
var ts = $.tablesorter = {

version : '2.30.0',
version : '2.30.1',

parsers : [],
widgets : [],
Expand Down Expand Up @@ -316,7 +316,10 @@
ts.setupParsers( c );
// start total row count at zero
c.totalRows = 0;
ts.validateOptions( c );
// only validate options while debugging. See #1528
if (c.debug) {
ts.validateOptions( c );
}
// build the cache for the tbody cells
// delayInit will delay building the cache until the user starts a sort
if ( !c.delayInit ) { ts.buildCache( c ); }
Expand Down Expand Up @@ -5994,7 +5997,7 @@

})( jQuery, window );

/*! Widget: saveSort - updated 2018-03-18 (v2.30.0) *//*
/*! Widget: saveSort - updated 2018-03-19 (v2.30.1) *//*
* Requires tablesorter v2.16+
* by Rob Garrison
*/
Expand All @@ -6004,7 +6007,7 @@

function getStoredSortList(c) {
var stored = ts.storage( c.table, 'tablesorter-savesort' );
return (stored && stored.hasOwnProperty('sortList') && $.isArray(stored.sortList)) ? stored.sortList : '';
return (stored && stored.hasOwnProperty('sortList') && $.isArray(stored.sortList)) ? stored.sortList : [];
}

function sortListChanged(c, sortList) {
Expand Down
4 changes: 2 additions & 2 deletions js/jquery.tablesorter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! TableSorter (FORK) v2.30.0 *//*
/*! TableSorter (FORK) v2.30.1 *//*
* Client-side table sorting with ease!
* @requires jQuery v1.2.6+
*
Expand All @@ -22,7 +22,7 @@
'use strict';
var ts = $.tablesorter = {

version : '2.30.0',
version : '2.30.1',

parsers : [],
widgets : [],
Expand Down
6 changes: 3 additions & 3 deletions js/jquery.tablesorter.widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██▀▀ ▀▀▀██
█████▀ ▀████▀ ██ ██ ▀████▀ ██ ██ ██ ██ ▀████▀ █████▀ ██ ██ █████▀
*/
/*! tablesorter (FORK) - updated 2018-03-18 (v2.30.0)*/
/*! tablesorter (FORK) - updated 2018-03-19 (v2.30.1)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) {
if (typeof define === 'function' && define.amd) {
Expand Down Expand Up @@ -3105,7 +3105,7 @@

})( jQuery, window );

/*! Widget: saveSort - updated 2018-03-18 (v2.30.0) *//*
/*! Widget: saveSort - updated 2018-03-19 (v2.30.1) *//*
* Requires tablesorter v2.16+
* by Rob Garrison
*/
Expand All @@ -3115,7 +3115,7 @@

function getStoredSortList(c) {
var stored = ts.storage( c.table, 'tablesorter-savesort' );
return (stored && stored.hasOwnProperty('sortList') && $.isArray(stored.sortList)) ? stored.sortList : '';
return (stored && stored.hasOwnProperty('sortList') && $.isArray(stored.sortList)) ? stored.sortList : [];
}

function sortListChanged(c, sortList) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tablesorter",
"title": "tablesorter",
"version": "2.30.0",
"version": "2.30.1",
"description": "tablesorter (FORK) is a jQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes. tablesorter can successfully parse and sort many types of data including linked data in a cell.",
"author": {
"name": "Christian Bach",
Expand Down
2 changes: 1 addition & 1 deletion tablesorter.jquery.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tablesorter",
"title": "tablesorter",
"version": "2.30.0",
"version": "2.30.1",
"description": "tablesorter is a jQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes. tablesorter can successfully parse and sort many types of data including linked data in a cell.\n\nThis forked version adds lots of new enhancements including: alphanumeric sorting, pager callback functons, multiple widgets providing column styling, ui theme application, sticky headers, column filters and resizer, as well as extended documentation with a lot more demos.",
"author": {
"name": "Christian Bach",
Expand Down

0 comments on commit c74a34b

Please sign in to comment.