The distance calculator always queried the rentlisting table regardless of listing type because get_listings() defaulted to RentListing when called without query_parameters. Added a listing_type parameter to get_listings() and _get_model_for_query() so callers can select the correct table directly. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| listing_repository.py | ||
| poi_repository.py | ||
| user_repository.py | ||