Koha-clms/installer/data/mysql
Marcel de Rooy 800ca2f6d8 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.

== Test plan ==
1. git checkout c585f1149770ec401f188e061211501897cec0bf~1
     This the commit before bug 20724's patches.
     We need that to be able to generate "corrupted data"
2. Set ReservesNeedReturns to "Automatically"
3. Place a hold on a specific item
4. The hold should have an *empty* expiration date
     record page → Hold → "Expiration" column
5. Apply this patch
6. Run updatedatabase.pl
7. Refresh the page
8. The hold should have an expiration date (not empty)
9. Celebrate! 🎉🎊🥳

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Victor Grousset <victor.grousset@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Bug 20773: (followup) Remove MySQLism

Signed-off-by: Victor Grousset <victor.grousset@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit a4ec768e37)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 6eb334e244)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2018-08-27 14:52:31 +02:00
..
atomicupdate Bug 20773: (bug 20724 follow-up) Add a simple db revision 2018-08-27 14:52:31 +02:00
de-DE Bug 20709: (follow-up) Update GERMAN MARC frameworks to Update 26 (April 2018) 2018-07-04 17:55:30 +02:00
en Bug 20710: Update MARC21 frameworks to Update 26 (April 2018) 2018-07-30 13:57:54 +02:00
es-ES Bug 18915: Add CHECKOUT_NOTE notice template for other languages 2018-01-23 01:44:13 +00:00
fr-CA Bug 18915: Add CHECKOUT_NOTE notice template for other languages 2018-01-23 01:44:13 +00:00
fr-FR Bug 18915: Add CHECKOUT_NOTE notice template for other languages 2018-01-23 01:44:13 +00:00
it-IT Bug 18915: Add CHECKOUT_NOTE notice template for other languages 2018-01-23 01:44:13 +00:00
mandatory Bug 17518: Displayed language name for Czech is wrong 2016-11-02 11:00:35 +00:00
nb-NO Bug 17682: Replace 2 occurrences in de-DE and nb-NO 2018-01-23 02:20:46 +00:00
pl-PL Bug 3841: (follow-up) Add the ACQ framework for pl-PL 2018-05-14 19:24:32 +00:00
ru-RU Bug 18915: Add CHECKOUT_NOTE notice template for other languages 2018-01-23 01:44:13 +00:00
uk-UA Bug 19973: Fix SQL syntax error in uk-UA/mandatory/sample_notices.sql 2018-01-23 01:44:54 +00:00
account_offset_types.sql Bug 12768: (QA follow-up) Use specific account offset types for Processing Fee and Lost Item 2017-10-23 12:36:12 -03:00
audio_alerts.sql Bug 11431: (QA followup) Make audio alerts sql top level 2015-11-04 12:33:53 -03:00
backfill_statistics.pl Bug 16011: $VERSION - Remove comments 2016-03-24 17:20:29 +00:00
fix_unclosed_nonaccruing_fines_bug17135.pl Bug 17135: [QA Follow-up] Changes as to reporting 2016-09-16 10:47:03 +00:00
kohastructure.sql Bug 20175: [sql_modes] (follow-up) Set a correct default value for club_enrollments.date_created 2018-07-12 08:21:32 +02:00
labels_upgrade.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
patroncards_upgrade.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
sysprefs.sql Bug 17682: Change URL for Google Scholar in OPACSearchForTitleIn 2018-01-23 02:20:16 +00:00
update22to30.pl Bug 11398: A typo occurred with occured 2014-01-02 15:12:48 +00:00
updatedatabase.pl Increment version for 17.11.08 release 2018-07-26 10:23:00 +02:00
userflags.sql Bug 7317: Add SQL templates & sysprefs. 2017-11-09 11:26:56 -03:00
userpermissions.sql Bug 12461 - Add patron clubs feature 2017-04-28 08:37:44 -04:00