diff --git a/src/model/boat.rs b/src/model/boat.rs index df3e9fd..8f8ef75 100644 --- a/src/model/boat.rs +++ b/src/model/boat.rs @@ -261,8 +261,8 @@ WHERE b.external = false AND b.location_id = (SELECT id FROM location WHERE name = 'Linz') AND b.deleted = false -ORDER BY - b.name DESC; +ORDER BY + b.amount_seats ASC, b.name ASC; " ) .fetch_all(db) diff --git a/templates/boatreservations.html.tera b/templates/boatreservations.html.tera index ffd0b7d..289077d 100644 --- a/templates/boatreservations.html.tera +++ b/templates/boatreservations.html.tera @@ -19,7 +19,7 @@