Merge pull request 'fix query' (#75) from fix-query into main
All checks were successful
CI/CD Pipeline / test (push) Successful in 10m51s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Successful in 14m35s

Reviewed-on: #75
This commit is contained in:
philipp 2023-11-20 23:45:45 +01:00
commit 4ffe3deb54

View File

@ -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
"
)