Cargof mt

This commit is contained in:
Franklin 2023-05-08 14:28:27 -04:00
parent dd200f0138
commit a27f2fcb9f

View File

@ -65,13 +65,17 @@ pub async fn fetch_with_realtor_id_paged(
Filter::Country(country) => country_filter = Some(country), Filter::Country(country) => country_filter = Some(country),
Filter::City(city) => city_filter = Some(city), Filter::City(city) => city_filter = Some(city),
Filter::District(district) => district_filter = Some(district), Filter::District(district) => district_filter = Some(district),
Filter::PriceGreaterThan(price_greater_than) => min_price_filter = Some(price_greater_than), Filter::PriceGreaterThan(price_greater_than) => {
min_price_filter = Some(price_greater_than)
}
Filter::PriceLessThan(price_less_than) => max_price_filter = Some(price_less_than), Filter::PriceLessThan(price_less_than) => max_price_filter = Some(price_less_than),
Filter::Rooms(room_count) => room_count_filter = Some(room_count), Filter::Rooms(room_count) => room_count_filter = Some(room_count),
Filter::Bathrooms(bathroom_count) => bathroom_count_filter = Some(bathroom_count), Filter::Bathrooms(bathroom_count) => bathroom_count_filter = Some(bathroom_count),
Filter::PropertyType(property_type) => property_type_filter = Some(property_type), Filter::PropertyType(property_type) => property_type_filter = Some(property_type),
Filter::MinArea(min_area) => min_area_filter = Some(min_area), Filter::MinArea(min_area) => min_area_filter = Some(min_area),
Filter::ParkingSpots(parking_spots_count) => parking_spots_count_filter = Some(parking_spots_count), Filter::ParkingSpots(parking_spots_count) => {
parking_spots_count_filter = Some(parking_spots_count)
}
Filter::Arrangement(arrangement) => arrangement_filter = Some(arrangement), Filter::Arrangement(arrangement) => arrangement_filter = Some(arrangement),
} }
} }