[Koha-bugs] [Bug 30904] (bug 24387 follow-up) Modifying library in news (additional contents) causes inconsistencies

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 7 11:34:55 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30904

--- Comment #2 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
I am not expecting this patch to work correctly.
You are removing branchcode from ->find, in my understanding ->find is
expecting only 1 result to be returned and for that you have to pass either the
PK or the unique key. branchcode is part of the unique key

UNIQUE KEY `additional_contents_uniq` (`category`,`code`,`branchcode`,`lang`),

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list