1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 22:19:26 +00:00

Fix bug where tests on the current day weren't selected in recent or upcoming filters

This commit is contained in:
2022-02-25 16:47:13 +00:00
parent 0ad2741884
commit c6433f4594

View File

@@ -140,7 +140,7 @@ class User {
switch (range) {
case 'before':
sql += `and t.testDate < curdate()`;
sql += `and t.testDate <= curdate()`;
break;
case 'after':
sql += `and t.testDate > curdate()`;