forked from Ruderverein-Donau-Linz/rowt
		
	fix default sort
This commit is contained in:
		@@ -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