From a3275826298f0c85d71b34387e4a891eb0968d6f Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Mon, 16 Mar 2026 20:35:26 +0000 Subject: [PATCH] Update location logic to handle TIPLOC as a fallback to CRS --- src/lib/components/ui/LocationSearchBox.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/components/ui/LocationSearchBox.svelte b/src/lib/components/ui/LocationSearchBox.svelte index 1fd33c6..5156771 100644 --- a/src/lib/components/ui/LocationSearchBox.svelte +++ b/src/lib/components/ui/LocationSearchBox.svelte @@ -82,7 +82,8 @@ selectedIndex = -1; value = ''; console.log('Selected Location: ', JSON.stringify(loc)); - goto(`/board?stn=${loc.c.toLowerCase()}`); + const queryString = loc.c || loc.t + goto(`/board?loc=${queryString.toLowerCase()}`); } function handleKey(e: KeyboardEvent) {