Query load and sort
I have a table
My current query is:
and my calculation is:
The calculation works as expected but sorting does not (I believe it was working in a previous version). What am I missing and/or can I just calculate
(I tried this but it also did not work).
locations with a geometry field :geom (using ash_geo + geo_postgis). When a user lands on a page and geolocates, the list of locations should sort ASC based on the user location and show the distance away in miles.My current query is:
and my calculation is:
The calculation works as expected but sorting does not (I believe it was working in a previous version). What am I missing and/or can I just calculate
distance_miles and just sort on that? IE:(I tried this but it also did not work).
