Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Jonathan Druart 6f599652b1 Bug 13215: The same letter code can be used for several libraries
This patch fixes a major issue introduced by the
commit 5c4fdcf Bug 11742: A letter code should be unique.

The interface should let the possibility to create a default template
letter and some specific ones, with the same letter code (letter.code).

The patches submitted on bug 11742 tried to fix an issue based on a
(very bad) assumption: letter.code should be considered as a primary key and
should be uniq.

This patch reintroduces this behavior.
Note that the interface will block a letter code used in different
module (this is consistent not to have the same letter code used for different
needs).

This patch is absolutely not perfect, it just tries to change as less
change as possible and to use new tested subroutines.

Test plan:
1/ Verify that the problem raised on bug 11742 does not appears anymore.
2/ Verify there are no regression on adding, editing, copying, deleting
letters.
3/ Verify you are allowed to create a default letter template with a letter
code and to reuse for a specific letter (i.e. for a given library).

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-11-27 11:42:14 -03:00
..
acqui Bug 12775: Suggestions should be ordered by anyone 2014-11-21 16:13:27 -03:00
admin Bug 8337 System preferences for longoverdue cron 2014-11-21 18:55:40 -03:00
authorities Bug 12708 - Unexpected behaviour in IE 9 and lower when using openWindow 2014-08-19 09:31:25 -03:00
basket Bug 13037 - Staff client cart should exclude articles when sorting by title 2014-11-21 15:17:21 -03:00
batch Bug 9210: wrap long lines in printed hold notices 2014-01-15 15:51:44 +00:00
catalogue Bug 13036 - Exclude control columns from sorting on staff client catalog detail page 2014-11-21 19:50:21 -03:00
cataloguing Bug 10473: (RM followup) small wording change 2014-11-14 13:06:21 -03:00
circ Bug 12959 - Check in forgets to remember arbitrary backdating of returns setting 2014-11-25 15:42:21 -03:00
course_reserves Bug 12635 - Course reserves item list should use "Checked out" instead of "On Loan" 2014-08-07 11:03:56 -03:00
errors
help Bug 6681: (qa followup) document the existence of the sample files 2014-11-14 09:31:44 -03:00
installer Bug 12658: Wording of link text and translatability inside JavaScript 2014-08-15 15:36:11 -03:00
labels Bug 13162 - Label batch editor title sorting by default, rather then label number 2014-11-21 19:51:38 -03:00
members Bug 13133: Fix mangled titles on pay fines page 2014-11-21 20:40:31 -03:00
offline_circ Bug 12107 - Move checkboxes jQuery plugin outside of language-specific directory 2014-04-25 15:12:20 +00:00
patron_lists ug 11857 - Number of patrons on a patron list not accurate 2014-07-02 15:44:14 -03:00
patroncards Bug 5502 - Patron card category search field should be menu 2014-08-10 09:30:47 -03:00
plugins Bug 7804 - Add Koha Plugin System - QA Followup 2 2013-03-20 14:50:19 -04:00
reports Bug 13288: Fix filtering on the saved reports table 2014-11-20 09:54:28 -03:00
reserve Bug 12943 - Add patron branchcode to patron search results for holds 2014-11-21 16:00:13 -03:00
reviews Bug 8143 [REVISED] Upgrade jQuery tabs to current jQueryUI version 2012-06-10 15:22:58 +02:00
rotating_collections Bug 8836 [QA Followup] - Prevent multiple collections from having the same title 2014-11-06 15:12:20 -03:00
serials Bug 11271 - Serials table off the screen in smaller viewports 2014-11-21 20:29:52 -03:00
services Bug 12673: Remove CGI::scrolling_list from C4::Items.pm 2014-08-03 17:21:08 -03:00
sms
suggestion Bug 13229 - Suggestion date filters have a style problem 2014-11-20 09:56:34 -03:00
tags Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
test Bug 2774 - Path to theme is hard-coded in many places 2013-05-20 11:11:04 -07:00
tools Bug 13215: The same letter code can be used for several libraries 2014-11-27 11:42:14 -03:00
virtualshelves Bug 12405 - Search links on callnumber fails on intranet results page 2014-09-18 09:43:16 -03:00
about.tt Bug 13347: Update credits for Arabic translation 2014-11-27 10:51:16 -03:00
auth.tt Bug 11146: Show a go back link on no permission page 2013-11-23 19:43:37 +00:00
intranet-main.tt Bug 10415 - Add course reserves to staff client home page 2014-03-12 18:15:24 +00:00