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

--- Comment #1 from Jonathan Druart <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to