jfoote / vulture

Analyzes open source bug trackers for interesting vulnerabilities
Other
22 stars 5 forks source link

Make dynatable searches stackable #2

Open jfoote opened 10 years ago

jfoote commented 10 years ago

Need to be able to search by column, and to combine (or stack) multiple searches

jfoote commented 10 years ago

This is do-able, see: https://www.dynatable.com/#querying

Basically one can add more searches by creating HTML elements and then, via JS/jQuery, assign their change (or submit) callbacks to add (key, val) pairs to the dynatables 'queries' attribute. The 'key' is the field to filter on, and the 'val' is the filter value. Should be able to expand on this to dynamically add (and remove) more search terms across all fields pretty easily; should also be able to use a combo box for each search input field to allow the user to select the column (or 'all') for each search.