From 039f9fbddf6dfd6de3bb79afc2be2666d58dc8ab Mon Sep 17 00:00:00 2001 From: philipp Date: Thu, 2 Nov 2023 16:00:41 +0100 Subject: [PATCH] switch order --- src/model/user.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model/user.rs b/src/model/user.rs index 252d208..d95f989 100644 --- a/src/model/user.rs +++ b/src/model/user.rs @@ -186,7 +186,7 @@ ORDER BY last_access DESC SELECT id, name, pw, is_cox, is_admin, is_guest, deleted, last_access, is_tech, dob, weight, sex FROM user WHERE deleted = 0 AND dob is not null and weight is not null and sex is not null -ORDER BY name DESC +ORDER BY name " ) .fetch_all(db)