mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Filter: Make all options show in the current select when onlyAvail is set
This commit is contained in:
parent
36e5371df7
commit
28cdec1b60
@ -1192,6 +1192,10 @@ ts.filter = {
|
|||||||
source = wo.filter_selectSource,
|
source = wo.filter_selectSource,
|
||||||
fxn = $.isFunction(source) ? true : ts.getColumnData( table, source, column );
|
fxn = $.isFunction(source) ? true : ts.getColumnData( table, source, column );
|
||||||
|
|
||||||
|
if (onlyAvail && c.$table.data('lastSearch')[column] !== '') {
|
||||||
|
onlyAvail = false;
|
||||||
|
}
|
||||||
|
|
||||||
// filter select source option
|
// filter select source option
|
||||||
if (fxn === true) {
|
if (fxn === true) {
|
||||||
// OVERALL source
|
// OVERALL source
|
||||||
|
Loading…
Reference in New Issue
Block a user