mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-01 22:59:28 +00:00
Fix bug where tests on the current day weren't selected in recent or upcoming filters
This commit is contained in:
@@ -140,7 +140,7 @@ class User {
|
|||||||
|
|
||||||
switch (range) {
|
switch (range) {
|
||||||
case 'before':
|
case 'before':
|
||||||
sql += `and t.testDate < curdate()`;
|
sql += `and t.testDate <= curdate()`;
|
||||||
break;
|
break;
|
||||||
case 'after':
|
case 'after':
|
||||||
sql += `and t.testDate > curdate()`;
|
sql += `and t.testDate > curdate()`;
|
||||||
|
|||||||
Reference in New Issue
Block a user