@autobusal/operator-routes 1.11.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Locations/utilities.tsx +8 -1
- package/package.json +1 -1
package/Locations/utilities.tsx
CHANGED
|
@@ -37,7 +37,14 @@ export const getStopOptions = (t: TFunction<'normal'>, countries?: CountryData[]
|
|
|
37
37
|
group: country.name,
|
|
38
38
|
disabled: pending,
|
|
39
39
|
note: pending ? t('locations_manage.add_city.pending', { ns: 'common' }) : undefined,
|
|
40
|
-
|
|
40
|
+
/*
|
|
41
|
+
* Claude - 2026-08-30 (reported by Ferjolt): searching "Selanik"
|
|
42
|
+
* found nothing, because only the names as DISPLAYED were
|
|
43
|
+
* matchable and those are in one language. `aliases` is every name
|
|
44
|
+
* the city is known by, in any language or script - the same index
|
|
45
|
+
* the visitor-facing city search matches on.
|
|
46
|
+
*/
|
|
47
|
+
search: [ country.name, city.name, stop.name, ...(city.aliases ?? []) ]
|
|
41
48
|
});
|
|
42
49
|
});
|
|
43
50
|
});
|