Fix map search

- Instead of doing get request from the map component, the listings to show are passed to the map as function parameters.
- Map and other homepage views use now the exact same code to do searches