toastdriven/django-haystack — pull request #718 by jasisz (2013-01-17 10:08:48+00:00)
Title: Bounding box calculations fixed, remember that order is relevant

Bounding box calculation is wrong (in elasticsearch for sure, haven't checked others).
We cannot assume that calculating minimal and maximal longitudes is relevant. If someone searches and "crosses" International Line Date we start to query not for he wanted, but opposite.
Therefore order in which corner points are given matters.