diff --git a/web/src/lib/components/trail/map_with_elevation_maplibre.svelte b/web/src/lib/components/trail/map_with_elevation_maplibre.svelte index 7abf7dc7..1afa8724 100644 --- a/web/src/lib/components/trail/map_with_elevation_maplibre.svelte +++ b/web/src/lib/components/trail/map_with_elevation_maplibre.svelte @@ -580,8 +580,6 @@ map.getCanvas().style.cursor = "inherit"; if (activeTrail !== null && trails[activeTrail] && !clusterTrails) { - console.log(data[activeTrail].features[0]); - addStartEndMarkers( trails[activeTrail], trails[activeTrail].id, diff --git a/web/src/lib/stores/trail_store.ts b/web/src/lib/stores/trail_store.ts index 31c40727..d5064a96 100644 --- a/web/src/lib/stores/trail_store.ts +++ b/web/src/lib/stores/trail_store.ts @@ -593,7 +593,7 @@ function buildFilterText(user: AuthRecord, filter: TrailFilter, includeGeo: bool } if (filter.category.length > 0) { - filterText += ` AND category IN [${filter.category.join(",")}]`; + filterText += ` AND category IN ['${filter.category.join(",")}']`; } if (filter.tags.length > 0) { diff --git a/web/src/routes/profile/[handle]/trails/+page.svelte b/web/src/routes/profile/[handle]/trails/+page.svelte index 039fc2ff..91305e04 100644 --- a/web/src/routes/profile/[handle]/trails/+page.svelte +++ b/web/src/routes/profile/[handle]/trails/+page.svelte @@ -1,10 +1,9 @@