Compare commits

..

No commits in common. "d0bcf1f38409d9f011ee01873eab813969806a6c" and "c379a6ca79045deefb28dfce4a161ca109b08d07" have entirely different histories.

View File

@ -242,7 +242,7 @@ ORDER BY departure DESC
FROM logbook
JOIN rower ON logbook.id = rower.logbook_id
WHERE arrival is not null AND rower_id = {}
ORDER BY arrival DESC
ORDER BY departure DESC
", user.id)
)
.fetch_all(db)
@ -275,7 +275,7 @@ ORDER BY departure DESC
SELECT id, boat_id, shipmaster, steering_person, shipmaster_only_steering, departure, arrival, destination, distance_in_km, comments, logtype
FROM logbook
WHERE arrival is not null AND arrival LIKE '{}-%'
ORDER BY arrival DESC
ORDER BY departure DESC
", year)
)
.fetch_all(db)