openmove / odh-mentor-otp

https://mobility.meran.eu
1 stars 3 forks source link

Stop Id in frontend #48

Closed zabuTNT closed 3 years ago

zabuTNT commented 3 years ago

The split : in case of GlobalID used by STA return only the element 1 of the array: "it" and not the real stopId

1:it:22021:2268:0:742 --> it (expected: it:22021:2268:0:742)

https://journey.opendatahub.testingmachine.eu/it/#/stop/1:it:22021:2268:0:742

stefanocudini commented 3 years ago

sure not only 742?

zabuTNT commented 3 years ago

Yes, you're right, it could be the last value only.

stefanocudini commented 3 years ago

edits reference: https://github.com/openmove/odh-mentor-otp/blob/development/journey/app/otp-react-redux/lib/components/viewers/stop-viewer.js#L212

stefanocudini commented 3 years ago

fixed also agency id: https://github.com/openmove/odh-mentor-otp/commit/c4dd683341b01276d59d1054434f09029eb8a1e6