From 12376873395eedebcd9f0246c9a7cb5ebffa9ff7 Mon Sep 17 00:00:00 2001 From: Raphael Odini Date: Sun, 14 Jan 2024 09:52:56 +0100 Subject: [PATCH] feat: add location filter on price_count (#142) --- app/schemas.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/schemas.py b/app/schemas.py index 27d9c16f..95b2178b 100644 --- a/app/schemas.py +++ b/app/schemas.py @@ -372,6 +372,9 @@ class Constants(Filter.Constants): class LocationFilter(Filter): osm_name__like: Optional[str] | None = None osm_address_country__like: Optional[str] | None = None + price_count: Optional[int] | None = None + price_count__gte: Optional[int] | None = None + price_count__lte: Optional[int] | None = None order_by: Optional[list[str]] | None = None