Koha-clms/installer/data/mysql
Jonathan Druart fc568dfb22 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>
2015-09-02 09:40:47 -03:00
..
atomicupdate Bug 14205: Deleting an Item/Record does not remove link to course reserve 2015-09-02 09:40:47 -03:00
de-DE Bug 12137: Extend CalendarFirstDayOfWeek to be any day 2015-07-20 10:43:35 -03:00
en Bug 13014: Notify budget owner on new suggestion - sample notices 2015-06-24 11:41:36 -03:00
es-ES Bug 13014: (follow-up) Notify budget owner on new suggestion - sample notices 2015-06-24 11:49:07 -03:00
fr-FR Bug 13014: (follow-up) Notify budget owner on new suggestion - sample notices 2015-06-24 11:49:07 -03:00
it-IT Bug 13014: (follow-up) Notify budget owner on new suggestion - sample notices 2015-06-24 11:49:07 -03:00
mandatory Bug 14285: Bengali locale needs to be re-defined 2015-06-01 15:22:27 -03:00
nb-NO Bug 12137: Extend CalendarFirstDayOfWeek to be any day 2015-07-20 10:43:35 -03:00
pl-PL Bug 13014: (follow-up) Notify budget owner on new suggestion - sample notices 2015-06-24 11:49:07 -03:00
ru-RU Bug 13014: (follow-up 2) Notify budget owner on new suggestion - sample notices 2015-06-24 11:49:12 -03:00
uk-UA Bug 13014: (follow-up 2) Notify budget owner on new suggestion - sample notices 2015-06-24 11:49:12 -03: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-02 09:40:47 -03: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 13697: (QA followup) fix typo in sysprefs.sql 2015-08-31 10:55:54 -03:00
update22to30.pl Bug 11398: A typo occurred with occured 2014-01-02 15:12:48 +00:00
updatedatabase.pl Bug 11584: DBRev 3.21.00.21 2015-08-28 10:36:11 -03:00