Don't consider a chores executed when the execution was undone

This commit is contained in:
Bernd Bestel
2019-07-07 19:47:05 +02:00
parent 6e3407b157
commit 430286ae9e

View File

@@ -24,4 +24,5 @@ SELECT
FROM chores h
LEFT JOIN chores_log l
ON h.id = l.chore_id
AND l.undone = 0
GROUP BY h.id, h.period_days;