allows categories with spaces in filter

This commit is contained in:
Christian Beutel
2025-08-04 19:04:10 +02:00
parent b7c06fcaf2
commit 482d90c893
4 changed files with 3 additions and 6 deletions

View File

@@ -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) {