forked from Ruderverein-Donau-Linz/rowt
fix boat update error
This commit is contained in:
parent
cb109e7005
commit
ff6184e343
@ -60,7 +60,7 @@ pub struct BoatToUpdate<'r> {
|
|||||||
pub skull: bool,
|
pub skull: bool,
|
||||||
pub external: bool,
|
pub external: bool,
|
||||||
pub location_id: i64,
|
pub location_id: i64,
|
||||||
pub owner_id: Option<i64>,
|
pub owner: Option<i64>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Boat {
|
impl Boat {
|
||||||
@ -229,7 +229,7 @@ ORDER BY amount_seats DESC
|
|||||||
boat.skull,
|
boat.skull,
|
||||||
boat.external,
|
boat.external,
|
||||||
boat.location_id,
|
boat.location_id,
|
||||||
boat.owner_id,
|
boat.owner,
|
||||||
self.id
|
self.id
|
||||||
)
|
)
|
||||||
.execute(db)
|
.execute(db)
|
||||||
|
@ -4,6 +4,9 @@
|
|||||||
{% extends "base" %}
|
{% extends "base" %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
{% if flash %}
|
||||||
|
{{ macros::alert(message=flash.1, type=flash.0, class="sm:col-span-2 lg:col-span-3") }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<div class="max-w-screen-lg w-full">
|
<div class="max-w-screen-lg w-full">
|
||||||
<h1 class="h1">Boats</h1>
|
<h1 class="h1">Boats</h1>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user