diff --git a/src/model/user.rs b/src/model/user.rs index fd7b2d2..d028bf8 100644 --- a/src/model/user.rs +++ b/src/model/user.rs @@ -185,7 +185,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 +WHERE deleted = 0 AND dob != '' and weight != '' and sex != '' ORDER BY name " )