Use textareas for the 6XX fields when editing MARC21
authority records - these fields, not the 5XX, contain
the lengthy notes.

Note that because of the previous patch, both text inputs
and textareas permit entry of up to 9999 characters.
---
 authorities/authorities.pl |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/authorities/authorities.pl b/authorities/authorities.pl
index 518f946..cd2a280 100755
--- a/authorities/authorities.pl
+++ b/authorities/authorities.pl
@@ -252,8 +252,8 @@ sub create_input {
             or
             ( C4::Context->preference("marcflavour") eq "UNIMARC" && $tag >= 
300
                 and $tag < 400 && $subfield eq 'a' )
-            or (    $tag >= 500
-                and $tag < 600
+            or (    $tag >= 600
+                and $tag < 700
                 && C4::Context->preference("marcflavour") eq "MARC21" )
         )
         {
-- 
1.5.5.GIT

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to