Created attachment 75368 [details] [review]
Bug 20773: (bug 20724 follow-up) Add a simple db revision
We should correct bad data too.
This is a trivial, pragmatic approach. Instead of doing a complex
calculation with holidays etc. (as was done on 12063), we just add
MaxPickupDelay or 7 days to today probably resulting in a little bonus
time. Only for waiting holds. When the ReservesNeedReturns pref was not
Automatic, there should be no changes.
Signed-off-by: Marcel de Rooy <email@example.com>
This change contains MySQLism (FQA)
And maybe it would be better to display a warning and provide a script to fix the data (In Discussion).