Filter: Make all options show in the current select when onlyAvail is set

This commit is contained in:
Mottie 2014-07-18 11:29:51 -05:00
parent 36e5371df7
commit 28cdec1b60

View File

@ -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