shift-org / shift-docs

Shift2Bikes: website and calendar for shift and pedalpalooza
https://shift2bikes.org
Other
22 stars 17 forks source link

Older rides all show as loop rides #696

Closed carrythebanner closed 6 months ago

carrythebanner commented 6 months ago

Older rides are all showing as loop rides. Looks like if the loopride value is null in the database, it's coming back as true from the API.

This affects rides c. May 2021 and earlier, which is when the loopride field was added (see #329). After that date, new rides have an explicit true/false value rather than null. We could migrate the old null values to false, but it would be good for the backend to also not assume true if null.

ionous commented 6 months ago

fixed with #702