May 20th, 2025

Bug Fix

MLS Search - "sort" Fixes

  • apply geo-distance sort when latitude/longitude/radius are provided but no explicit sort

    • so that results are in order of closest first by default when latitude+longitude+radius are provided

{ 
 latitude: centerLat,
 longitude: centerLon,
 radius: 5
}
  • apply explicit sort even when geo parameters are present

    • overrides the default geo-distance sorting

{ 
 latitude: 45.0044277,
 longitude: -123.025597,
 radius: 5,
 sort: { 'listing_price': 'asc' }
}