Modify ↓
Ticket #6468 (closed feature: wontfix)
Pass data into custom filters
| Reported by: | corey.hart | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | 1.5 |
| Component: | selector | Version: | 1.4.2 |
| Keywords: | filter | Cc: | |
| Blocking: | Blocked by: |
Description
How about the ability to pass in data into the filter method, which would then in turn gets passed into each filter defined in the selector.
This comes from my recent problems using the ":contains( str )" filter where the 'str' contains a closing brace ')', breaking the selector.
Change History
comment:1 in reply to: ↑ description Changed 3 years ago by corey.hart
comment:2 Changed 3 years ago by snover
- Milestone changed from 1.4.4 to 1.5
Retarget all enhancements/features to next major version.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Forgot to mention that the data would be passed in as the second parameter to the filter method, ".filter( selector, data )"
Replying to corey.hart: