From 8cc70292437671ac57ecb510e83502d32abb4c2d Mon Sep 17 00:00:00 2001 From: slothful-vassal <89943360+slothful-vassal@users.noreply.github.com> Date: Sun, 7 Sep 2025 16:34:25 +0200 Subject: [PATCH] fix opening trail from map search (#562) --- .gitignore | 2 +- web/src/routes/map/+page.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 61487c08..5c5302b5 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,6 @@ search/dumps run.sh build*.sh -start.* +start*.* data*/ diff --git a/web/src/routes/map/+page.svelte b/web/src/routes/map/+page.svelte index 9b0e2b36..de73ddc7 100644 --- a/web/src/routes/map/+page.svelte +++ b/web/src/routes/map/+page.svelte @@ -101,7 +101,7 @@ const trailItems = r[0].hits.map((t: TrailSearchResult) => ({ text: t.name, description: `Trail ${t.location.length ? ", " + t.location : ""}`, - value: `@${t.author}${t.domain ? `@${t.domain}` : ""}/${t.id}`, + value: `@${t.author_name}${t.domain ? `@${t.domain}` : ""}/${t.id}`, icon: "route", })); const listItems = r[1].hits.map((t: ListSearchResult) => ({