Prepare Store Backend to search for stores
Description
Currently the map use the Bubbles API onXhr to get Store in map and information about store, this needs to be replaced to remove XHR from store.
This feature improvment should introduce an API to list stores ondependent from the region. Additional a search and pagination query parameter should be implemented, so that it is usable by Map-Modul or the Create Store Dialog.
Proposal for search query
Based on short search for Implementation approaches, Like mosif Guidewire
Filters
location:boundaryBox:<startLat>:<startLon>:<endLat>:<endLon>
cooperationStatus:in:<value1>, <value2>
name:sw:<beginOfName>
name:cn:<contains>
chain:in:<chainID1>,<chainId2>
address:sw:<startwith>
Example usage
https://.../API/stores?q[]=name:cn:Brot&q[]=cooperationStatus:in:1,2
Impact
Links / references
Edited by KoeMai