make sure to update combinedDue with the new value

This commit is contained in:
Damien Elmes 2010-10-25 14:35:05 +09:00
parent de18f59474
commit b0e4748a1c

View file

@ -932,7 +932,7 @@ and type = 2""", data)
self.s.statement("""
update cards set
due = created,
combinedDue = max(spaceUntil, due),
combinedDue = max(spaceUntil, created),
modified = :now
where type = 2""", now=time.time())