forked from Ruderverein-Donau-Linz/rowt
fix default sort
This commit is contained in:
parent
da793fec2d
commit
3008264261
@ -591,7 +591,7 @@ WHERE lower(name)=?
|
||||
}
|
||||
|
||||
pub async fn all(db: &SqlitePool) -> Vec<Self> {
|
||||
Self::all_with_order(db, "last_access", true).await
|
||||
Self::all_with_order(db, "last_access", false).await
|
||||
}
|
||||
|
||||
pub async fn all_with_order(db: &SqlitePool, sort: &str, asc: bool) -> Vec<Self> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user