Skip to content

Commit 7f0dfac

Browse files
change ordering for geo-spatial to from geo_spatial_ordering to just ordering
1 parent 1f88f52 commit 7f0dfac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/django_elasticsearch_dsl_drf/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
SEARCH_QUERY_PARAM = 'q'
100100

101101
# Geo distance ordering param
102-
GEO_DISTANCE_ORDERING_PARAM = 'geo_distance_ordering'
102+
GEO_DISTANCE_ORDERING_PARAM = 'ordering'
103103

104104
# ****************************************************************************
105105
# ************************ Native lookup filters/queries *********************

0 commit comments

Comments
 (0)