Add range capabilities to the filters
Is your feature request related to an existing module? Applies to all filters in all modules
Describe the solution you'd like We need the possibility of searching for ranges whether its for dates of numbers it would be nice to be able to filter for >= or <=
required by
- CBIG
- COPN
- EEG Net
Make sure you code the web form with a non-literal comparison operator in it.
The first time we implemented < and => etc comparisons in CBRAIN, the developer encoded the operators directly in the form, and so it immediately became a source of SQL injection (a bad user could just edit the form and change the '>' for things like ; drop table users -- )
I told the developer to assign a numerical code to the comparison. e.g. 1 for >, 2 for <, 3 for != etc etc
I think on LORIS all filtering is being done directly front end so no risk of that but thanks for the heads up.
Ah, sure. Yes, I was of course talking about code ending up on the backend. Front end, no problem, of course.
@jeffersoncasimir is this something that could be added from eegnet's sliders?
@racostas could this be a good first task for Ayush? gsoc
@ridz1208 @driusan is there anyone else who should tackle this instead?
The CAP project implemented range selection as a slider for filtering candidate age
@driusan I'd like that on the roadmap, unless there are plans on using the DQAPI to replace it