Based on bug 27002 and bug 26988, the route could be added filters as the routes will rely on resultsets, leveraging on our existing framework. This paves the way to using things like Select2 in a fancier way for the dropdown.
Created attachment 113657 [details] [review] Bug 27015: Make pickup locations searchable Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Created attachment 113732 [details] [review] Bug 27015: Unit tests Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Created attachment 113733 [details] [review] Bug 27015: Make pickup locations searchable Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Created attachment 113761 [details] [review] Bug 27015: Unit tests Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: David Nind <david@davidnind.com>
Created attachment 113762 [details] [review] Bug 27015: Make pickup locations searchable Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: David Nind <david@davidnind.com>
Tested by: 1. Running prove t/db_dependent/api/v1/holds.t before and after patch applied => All tests pass. 2. Successfully testing bug 27016
Created attachment 113789 [details] [review] Bug 27015: Unit tests Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Created attachment 113790 [details] [review] Bug 27015: Make pickup locations searchable Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Pushed to master for 21.05, thanks to everybody involved!
Enhancement not pushed to 20.11.x