mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Filter: external select causing javascript error. Fixes #702
This commit is contained in:
parent
232cfe55a0
commit
d55a99eb4c
@ -1140,7 +1140,8 @@ ts.filter = {
|
||||
result = showRow; // if showRow is true, show that row
|
||||
|
||||
// in case select filter option has a different value vs text "a - z|A through Z"
|
||||
ffxn = c.$filters.eq(columnIndex).find('select option:selected').attr('data-function-name') || '';
|
||||
ffxn = wo.filter_columnFilters ?
|
||||
c.$filters.add(c.$externalFilters).filter('[data-column="'+ columnIndex + '"]').find('select option:selected').attr('data-function-name') || '' : '';
|
||||
|
||||
// replace accents - see #357
|
||||
filters[columnIndex] = c.sortLocaleCompare ? ts.replaceAccents(filters[columnIndex]) : filters[columnIndex];
|
||||
|
Loading…
Reference in New Issue
Block a user