Skip to content
Snippets Groups Projects
Commit d0a90f23 authored by Sean Hill's avatar Sean Hill
Browse files

Set default value for distance_column and bearing_column to 'default' and 'bearing'.

parent 70d743c7
No related branches found
No related tags found
No related merge requests found
......@@ -182,7 +182,7 @@ module Geocoder::Store
##
# Generate the SELECT clause.
#
def select_clause(columns, distance = nil, bearing = nil, distance_column = nil, bearing_column = nil)
def select_clause(columns, distance = nil, bearing = nil, distance_column = 'distance', bearing_column = 'bearing')
if columns == :id_only
return full_column_name(primary_key)
elsif columns == :geo_only
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment