]> git.koha-community.org Git - koha.git/commit
Bug 29495: Add code level constraint replacement
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 17 Nov 2021 10:27:38 +0000 (10:27 +0000)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Wed, 23 Feb 2022 19:44:59 +0000 (20:44 +0100)
commit3757953b5b14fb20a61724d1eb01abdbd540d446
tree4ff5874070134e53f8bd2a03e8f1f803556279d6
parented4217c31004fda2caef775392a11b9cd1ae0523
Bug 29495: Add code level constraint replacement

This patch adds a check in Koha::Checkouts::ReturnClaim::store to
replace the database level foreign key check.

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
(cherry picked from commit f0fac71bbd8f073a5836f88402d20aa67175195b)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Koha/Checkouts/ReturnClaim.pm