From a1f214664883ed77beadbcdb1a17912f048641e1 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Thu, 16 May 2019 02:24:02 +0200 Subject: [PATCH] Set default distance to ~20km --- internal/photoprism/search.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/photoprism/search.go b/internal/photoprism/search.go index 176a14dad..f2f4f950b 100644 --- a/internal/photoprism/search.go +++ b/internal/photoprism/search.go @@ -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 }