Closed jrgns closed 7 years ago
Hi! Can I tackle this one?
@tegon Please do!
@tegon Still keen to do this?
@jrgns I haven't started working on this yet, I have some other tasks to finish before. If you want to do it or give it to someone else, feel free to do it. There's no problem for me.
@jrgns I've implemented this in #4. Please let me know what you think of the solution.
Thanx @tegon I've added you to the Contributors file.
The
Component
helper currently allows a developer to specify filter fields for a model that allows you to filter list results according to that field. As an example https://ditty.io/products?type=online will only return products where thetype
field equalsonline
Extend the
Component
helper to allow a developer to specify search fields in a controller:Where each specified field will be included in the DB search. In the example above, this URL will search for the term
free
in thedescription
andname
fields: field: https://ditty.io/products?q=free