Compare commits
No commits in common. "323f721fc021cde9fbe4ed7a9b64f626f23bc51a" and "22bfe48d18b842ffeade9dac6afb7519c5d72096" have entirely different histories.
323f721fc0
...
22bfe48d18
@ -242,7 +242,7 @@ ORDER BY departure DESC
|
|||||||
FROM logbook
|
FROM logbook
|
||||||
JOIN rower ON logbook.id = rower.logbook_id
|
JOIN rower ON logbook.id = rower.logbook_id
|
||||||
WHERE arrival is not null AND rower_id = {}
|
WHERE arrival is not null AND rower_id = {}
|
||||||
ORDER BY arrival DESC
|
ORDER BY departure DESC
|
||||||
", user.id)
|
", user.id)
|
||||||
)
|
)
|
||||||
.fetch_all(db)
|
.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
|
SELECT id, boat_id, shipmaster, steering_person, shipmaster_only_steering, departure, arrival, destination, distance_in_km, comments, logtype
|
||||||
FROM logbook
|
FROM logbook
|
||||||
WHERE arrival is not null AND arrival LIKE '{}-%'
|
WHERE arrival is not null AND arrival LIKE '{}-%'
|
||||||
ORDER BY arrival DESC
|
ORDER BY departure DESC
|
||||||
", year)
|
", year)
|
||||||
)
|
)
|
||||||
.fetch_all(db)
|
.fetch_all(db)
|
||||||
|
Loading…
Reference in New Issue
Block a user