[Koha-bugs] [Bug 11742] Overdue notice/status triggers displaying the wrong notice for default

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 6 13:53:28 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11742

--- Comment #1 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 25892
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25892&action=edit
Bug 11742: A letter code should be unique.

This patch is a dirty way to fix a design issue on notices.
Currently the code assumes that a letter code is unique. Which is wrong,
the primary key is module, code, branchcode.
But the C4::Letters::GetLetters routine returns a hashref with letter
code in keys => only 1 per letter code is returned.

I tried to fix the API but it is more complicated than I thought.

Test plan:
Try to duplicate a letter code using edit, add and copy actions.
If you manage to do it, please describe how you did.

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


More information about the Koha-bugs mailing list