Set default distance to ~20km
This commit is contained in:
parent
1cf23aac3e
commit
a1f2146648
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ func (s *Search) Photos(form forms.PhotoSearchForm) (results []PhotoSearchResult
|
|||
}
|
||||
|
||||
if form.Dist == 0 {
|
||||
form.Dist = 1
|
||||
form.Dist = 20
|
||||
} else if form.Dist > 1000 {
|
||||
form.Dist = 1000
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue