Commit Graph

21 Commits

Author SHA1 Message Date
Rob Garrison
53bc869f3e
Filter: Do not return altered filters. Fixes #1237 2016-06-28 06:25:33 -05:00
Rob Garrison
b473f4f653
Filter: Remove not any match limitation 2016-05-28 09:05:58 -05:00
Rob Garrison
80918f7fa7
Testing: setFilters last parameter now true by default 2016-05-28 08:24:20 -05:00
Rob Garrison
121b134db9 Testing: re-align code 2016-01-22 16:50:47 -06:00
Rob Garrison
7f08f7dd1d Filter: select defaults to exact match again. Fixes #1136 2016-01-22 13:36:09 -06:00
tschilling
426d72b50d Treat null filters the same way as undefined filters. 2016-01-20 10:50:35 -05:00
tschilling
4cb15889d7 Check that the filter is not undefined before encoding/decoding it.
If we include undefined filter values in the encoding/decoding,
then we store 'undefined' as the value in the cookie. When this
gets parsed out, it's treated as an actual value. This will likely
not match anything resulting in the initial filtering to filter out
all results.
2016-01-19 15:10:22 -05:00
Rob Garrison
60282f0787 Core & Filter: Add duplicateSpan option
Core:
- Added `duplicateSpan` option (default is `true`).
- Renamed `$.tablesorter.formatSortingOrder` to `$.tablesorter.getOrder`.
- Include `table` in console.error if an issue is encountered during
  initialization.
- Clean up warning when no parser is found for given data.
- Fix `config.sortVars` js error for non-existent header cells.
- Added unit tests.
- Added "example-colspan.html" demo.

Filter:
- Filters that span multiple columns now have the correct data-column set.
- Consolidated code that parsed data-column ranges into `findRange` function.
- Added unit tests
2015-12-13 16:23:48 -06:00
Rob Garrison
f51b39388a Filter: selectSource option now accepts an array of objects 2015-11-10 14:40:26 -06:00
Mottie
1aa87e2080 Filter: add filter_childWithSibs option. Fixes #1020 2015-09-23 07:50:45 -05:00
Mottie
3328f02579 Filter: add processOptions function & code cleanup. See #1010 2015-09-07 15:47:16 -05:00
Mottie
e28f7b52cd testing: cleanup 2015-08-10 19:19:48 -05:00
Mottie
7a91e0d6a6 Filter: prevent invalid RegExp errors 2015-07-27 18:49:30 -05:00
Mottie
449b985c60 Filter: add nesting of "AND" & "OR" searches. Fixes #891 & #918 2015-06-12 21:02:26 -05:00
Mottie
9a67c022c4 Filter: add filter_childByColumn option. Fixes #396 & #574 2015-05-14 21:32:41 -05:00
prijutme4ty
b1e733a29b Make tests more stable and independent(only part of them) by using deferred objects.
Stick to new Qunit syntax (without asyncTest and with explicit assert. prefix) instead of deprecated
2015-03-01 03:41:27 +03:00
Mottie
10528ebd44 Filter: corrected filter events & prevent table manipulation if filters are empty. Fixes #645
filter events no longer occur before the filterInit event
2014-06-16 11:19:29 -05:00
Mottie
e0065710d2 Core: refer filter_functions & filter_selectSource by header class/id. See #237. 2014-05-22 07:53:18 -05:00
Mottie
4627f214b8 Core: Refer headers option by header class/id 2014-05-16 13:38:55 -05:00
Mottie
859949152f Add more filter testing 2014-05-02 23:58:34 -05:00
Mottie
4326a622c8 Testing - starting to add tests for filter widget 2014-04-23 19:07:06 -05:00