Koha-clms/installer/data/mysql/atomicupdate
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
..
0001-bug_2929-permit_to_define_fine_days_in_issuing_rules.pl Merge fixes and removing warnings 2009-09-30 11:30:40 +02:00
0004-Add_Some_Missing_fields_to_suggestions.pl Fix file permissions: if it is not a script, it should not be executable. 2010-04-16 00:40:34 -04:00
0005-Add_CAS_Configuration.pl Fix file permissions: if it is not a script, it should not be executable. 2010-04-16 00:40:34 -04:00
0007-Opac-search-history.pl Fix file permissions: if it is not a script, it should not be executable. 2010-04-16 00:40:34 -04:00
0008-opac-description-for-authorised-values.pl MT 1717 : Opac descriptions for authorised values 2009-09-30 11:30:28 +02:00
0009-patron-attr-display-checkout.pl Fix for Bug 5436 - Extended patron attributes display improvements 2011-09-23 15:35:54 +12:00
Bug-4246-Talking-Tech-itiva-phone-notifications.pl Bug 11867: MTT: Manage *_PHONE notices 2014-05-02 20:29:20 +00:00
bug_6843_Renew_membership_from_expiry_or_current_date.pl Renew membership from expiry date or from current date based on a syspref 2012-02-01 22:53:40 +01:00
bug_7144-add-returnbranch-to-branch-item-issuing-rules.pl Enhancement 7144: Floating Collections (per branch/itemtype) 2012-03-21 10:28:26 +01:00
bug_7284_authority_linking_pt1 signed off Bug 7284: Authority matching improvements 2012-03-07 17:34:11 +01:00
bug_7284_authority_linking_pt2 signed off Bug 7284: Authority matching improvements 2012-03-07 17:34:11 +01:00
bug_14205-add_fk_course_reserves_ci_id.sql Bug 14205: Deleting an Item/Record does not remove link to course reserve 2015-09-21 14:16:23 +12:00
hourlyloans.sql Bug 5549 : Allow hourly loans to be indicated in the loan rules 2012-03-20 12:07:19 +13:00
importauthorities.pl Bug 7475: Update configuration 2012-09-19 17:15:25 +02:00
issuedate_times.pl Bug 5549 : Add script to convert issue_dates 2012-03-20 13:21:33 +13:00
local_cover_images.pl Bug 1633: QA follow-up 2012-01-24 11:16:10 +01:00
oai_sets.sql Bug 6440: Implement OAI-PMH Sets 2012-03-20 11:38:26 +01:00
subscription_add_enddate.pl Bug 2505 - Add commented use warnings where missing in the installer/ directory 2010-04-21 20:26:28 +12:00