Commit Graph

148 Commits

Author SHA1 Message Date
Mottie
68ae07cb79 version bump 2015-08-23 13:22:56 -05:00
Mottie
0924a98a2b Filter: add reference to make file more compressible 2015-08-23 07:00:43 -05:00
Mottie
8b73160c67 Core & Filter: cache regex 2015-08-23 07:00:34 -05:00
Mottie
47de48ef5d Filter: allow dynamically changing "anyMatch" filter. Fixes #998
previously, once an anyMatch type filter was found, it's value was always used to do an anyMatch search. Now the script checks to see if the input is targeting more than one column
2015-08-21 14:00:04 -05:00
Mottie
805be29302 version bump 2015-08-17 21:08:41 -05:00
Mottie
2182b42157 Filter: fix js error caused when limiting search columns
See http://stackoverflow.com/q/32052986/145346 for an example
2015-08-17 20:10:29 -05:00
Mottie
10bc23fa24 Overall: set jsHint "undef" & "unused" options. Fixed issues
The math widget had a javascript error which jsHint was not catching
2015-07-28 15:57:01 -05:00
Mottie
b3dd4b7c75 version bump 2015-07-28 15:01:32 -05:00
Mottie
7a91e0d6a6 Filter: prevent invalid RegExp errors 2015-07-27 18:49:30 -05:00
Mottie
b5485f4992 Overall: update debug logging to use console 2015-07-24 18:23:00 -05:00
Mottie
75de112ef6 Build: Add jscs checking & fix style issues
Thanks @Herst!
2015-07-22 23:29:51 -05:00
Herst
c35f1798eb Filter: comma too much
The comma that breaks IE7.
2015-06-19 10:20:23 +02:00
Mottie
5faba4b9e0 Filter: row remains visible after focused, when hideFilters set 2015-06-12 21:06:08 -05:00
Mottie
449b985c60 Filter: add nesting of "AND" & "OR" searches. Fixes #891 & #918 2015-06-12 21:02:26 -05:00
Mottie
ca163ec639 Filter: selectSource now ignores parsers, if none set. Fixes #934 2015-06-07 19:26:28 -05:00
Mottie
18a97ed4d9 Filter: target last used filter issue. See #920 2015-05-31 10:45:50 -05:00
Mottie
f07e70ed0b Filter: numeric column queries no longer force a search in parsed content 2015-05-17 23:00:21 -05:00
Mottie
13e3d0593d version bump 2015-05-17 15:32:53 -05:00
Mottie
8c2844b0ce Filter: prevent setFilter setting same filters after update. Fixes #903 & #733 2015-05-16 17:35:54 -05:00
Mottie
f5550fbee0 Filter: code cleanup to make it more readable 2015-05-16 17:13:17 -05:00
Mottie
9a67c022c4 Filter: add filter_childByColumn option. Fixes #396 & #574 2015-05-14 21:32:41 -05:00
Mottie
dcf4b01edf Filter: clean up parseFilter function 2015-05-13 07:44:58 -05:00
Mottie
159a72501c Filter: operator search ignores empty strings
because "" < 10 is true
2015-05-13 07:41:55 -05:00
Mottie
eadfe2980b Filter: don't save column specific any matches to storage 2015-05-12 22:35:22 -05:00
Mottie
b591583669 Filter: add data parameter to filter_functions. See #891 2015-05-05 23:44:06 -05:00
Mottie
a327084b16 Filter: Regex search update. See #891
Regex is now cached (per search) to optimize speed & it now properly uses case-sensitive content
2015-05-05 22:17:14 -05:00
Mottie
cfc18ac71b Filter: allow setting filter_selectSource with filter_functions
See http://jsfiddle.net/Mottie/856bzzeL/117/
2015-04-07 22:12:53 -05:00
Mottie
cd98f306bb Filter: cache main loop variables 2015-04-07 11:33:56 -05:00
Mottie
6f524ccef6 version bump 2015-03-26 10:48:43 -05:00
Mottie
16dd744bcc Filter: make "disabled" a modifiable class name 2015-03-24 13:29:41 -05:00
Mottie
7f37b90ebd General code cleanup
Also replace instances of tagName with nodeName
2015-03-23 16:08:07 -05:00
Mottie
979b3e5ddc Filter: prevent error if parseFilter returns NaN
It all depends on what the parser returns; some custom parsers may not take all situations into account
2015-03-11 17:32:24 -05:00
Mottie
403d831fc0 version bump 2015-03-05 10:10:57 -06:00
Mottie
ada1bbd898 Filter: stop using toggle/show
A row with display:table-row cannot be hidden with css, so collapsing a grouping widget group will not work, see http://stackoverflow.com/q/28868227/145346
2015-03-05 09:28:23 -06:00
Mottie
c17aa829e6 Debug: update debug logging
pager, columnSelector & filter
2015-02-27 17:37:14 -06:00
Mottie
a69a746fdf Core: merge in modified addInstanceMethods. Closes #826
Removed `$columnHeader` & replaced it with new `$headerIndexed` variable
2015-02-27 14:33:27 -06:00
Mottie
4171325819 Merge branch 'addInstanceMethods' of https://github.com/prijutme4ty/tablesorter into instance
Conflicts:
	js/jquery.tablesorter.js
	js/widgets/widget-filter.js
2015-02-27 06:56:53 -06:00
Mottie
d3170096b2 Filter: External filters can set initial values. Fixes #831
An empty string is better than an undefined filter
2015-02-26 08:30:09 -06:00
Mottie
873f6d2ee2 Optimizations: replace arrays using $.each with for loops. See #827 2015-02-25 18:44:36 -06:00
prijutme4ty
c71e8f6220 Added $.tablesorter.addInstanceMethods function which allows one
to define config object instance methods.

Refactored getting the column header using config-object method $columnHeader.
2015-02-25 17:21:02 +03:00
Mottie
1972857048 Filter: add config parameter to filter functions 2015-02-23 22:28:14 -06:00
Mottie
97d3caaffa Filter: Fix major issue with filter widget
Odd that the qunit test during the grunt build did not catch it!
2015-02-20 19:35:41 -06:00
Mottie
c0911bc7ca Filter: copied MaksimProgr changes & updates to widget-filter.js 2015-02-20 16:38:11 -06:00
Mottie
b71c1fe681 Event unbinding: change trim to replace spaces
the problem in jQuery 1.7-1.8 was any double spaces within a list of event names would cause the unbind to remove all event bindings - see http://jsfiddle.net/Mottie/zL6uory0/2/
2015-02-20 16:17:29 -06:00
Mottie
2b1b0167e7 Filter: merge changes from prijutme4ty into separated filter widget 2015-02-20 14:32:36 -06:00
Mottie
df5276238e Filter: ensure anymatch is a string value 2015-02-20 14:17:49 -06:00
Mottie
d78f3b032b Filter: prevent error when using anymatch & no external input 2015-02-20 14:16:42 -06:00
Mottie
2774abf8d8 Build: Add grunt build process
Rearranged, renamed & broke apart other files
2015-02-12 21:10:38 -06:00