Compare commits
2 Commits
11025738bb
...
c96cc4b38f
Author | SHA1 | Date | |
---|---|---|---|
c96cc4b38f | |||
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> {
|
||||
|
Reference in New Issue
Block a user