timetable-extension #1

Merged
fred.boniface merged 165 commits from timetable-extension into main 2025-06-18 21:06:04 +01:00
Showing only changes of commit 0b3c1b6ad3 - Show all commits

View File

@ -87,6 +87,11 @@ func CreateCorpusIndexes() error {
func GetTiplocFromCrs(crs string) (tiploc string, err error) { func GetTiplocFromCrs(crs string) (tiploc string, err error) {
// Return TIPLOC from CRS code // Return TIPLOC from CRS code
// TEMP FIX: WPH does not return a tiploc
if crs == "WPH" {
return "WORCPHL", nil
}
crs = strings.ToUpper(crs) crs = strings.ToUpper(crs)
// PIPELINE: // PIPELINE:
pipeline := bson.A{ pipeline := bson.A{