]> git.koha-community.org Git - koha.git/commit
Bug 8399: No need to truncate the marc field text to 22 chars
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 14 Apr 2015 09:23:21 +0000 (11:23 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 18 May 2015 15:11:23 +0000 (12:11 -0300)
commita9ff03c2bf9a36d71fbbc15b08d213a31700dc94
tree299ffe0b52b136122e137891a0a5cac9d6e9ed37
parentfda60fad3a8ba05d8d126a72b98ad4b397aabdaa
Bug 8399: No need to truncate the marc field text to 22 chars

The text for the marc field are truncated to 22 chars when displaying an
error on mandatory fields.
This limitation is useless and this patch removes it.

Test plan:
Create a mandatory subfield and set a long text (more than 22 chars)
edit or add an authority, click on save.
You should get the error displayed with the full text

Note that this patch modifies the same code for biblio.
Test plan is the same for biblio.

Signed-off-by: Andreas Hedström Mace <andreas.hedstrom.mace@sub.su.se>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
authorities/authorities.pl
cataloguing/addbiblio.pl
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt