Koha-clms/installer/data/mysql
Jonathan Druart e2a3e25a56 Bug 14205: Deleting an Item/Record does not remove link to course reserve
A constraint is missing on the course_reserves.ci_id field.
This patch adds it and removes orphan rows.

Test plan:
0/ Don't apply the patch
1/ Login to Staff Site.
2/ Go to Course Reserves
3/ Create Course
4/ Add Reserve
5/ Go to item added (delete item/record)
6/ Refresh Course (see no items attached)
7/ Delete Course
8/ See course still listed in the courses (Not deleted)
9/ Apply the patch and execute the updatedatabase entry.
10/ Delete the Course
Note that the course has correctly been removed.

NOTE: Make sure to set the UseCourseReserves system preference to test.
      Tested before (problem existed) and after (problem solved) update.
      Dropped DB, web installed, and put in dummy data and retested.
      Problem solved.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
2015-09-21 14:16:23 +12:00
..
atomicupdate Bug 14205: Deleting an Item/Record does not remove link to course reserve 2015-09-21 14:16:23 +12:00
de-DE Bug 4925: Remove Smithsonian as a delivered z39.50 target 2015-07-16 09:36:10 +00:00
en Bug 4925: Remove Smithsonian as a delivered z39.50 target 2015-07-16 09:36:10 +00:00
es-ES Bug 4925: Remove Smithsonian as a delivered z39.50 target 2015-07-16 09:36:10 +00:00
fr-FR Bug 13380: Add ORDER_CANCELLATION_REASON AV to all language files 2015-03-17 21:00:12 +13:00
it-IT Bug 13855 - Fastadd framework has 2x 100$c, missing 100$a 2015-03-31 18:27:32 +13:00
mandatory Bug 14285: Bengali locale needs to be re-defined 2015-06-08 16:02:58 +12:00
nb-NO Bug 13380: Add ORDER_CANCELLATION_REASON AV to all language files 2015-03-17 21:00:12 +13:00
pl-PL Bug 4925: Remove Smithsonian as a delivered z39.50 target 2015-07-16 09:36:10 +00:00
ru-RU Bug 11954 - Clean up currency default files 2015-02-14 19:57:02 +13:00
uk-UA Bug 11954 - Clean up currency default files 2015-02-14 19:57:02 +13:00
backfill_statistics.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
kohastructure.sql Bug 14205: Deleting an Item/Record does not remove link to course reserve 2015-09-21 14:16:23 +12:00
labels_upgrade.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-22 11:28:36 +12:00
patroncards_upgrade.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-22 11:28:36 +12:00
sysprefs.sql Bug 13984: CardnumberLength missing in sysprefs.sql 2015-05-17 16:29:27 +12:00
update22to30.pl Bug 11398: A typo occurred with occured 2014-01-02 15:12:48 +00:00
updatedatabase.pl Increment version for 3.18.10 release 2015-08-24 13:43:05 +12:00