Bug 2789 Fix UNIMAC leader plugin
authorFrédéric Demians <f.demians@tamil.fr>
Fri, 4 Jun 2010 15:04:18 +0000 (17:04 +0200)
committerGalen Charlton <gmcharlt@gmail.com>
Wed, 9 Jun 2010 14:14:11 +0000 (10:14 -0400)
The plugin was returning a 25 characters length leader rather than 24
characters. So leader was recreated automatically, removing user update,
before writing biblio record.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_leader.tmpl

index b75cb1f..b267614 100644 (file)
@@ -298,7 +298,7 @@ function report() {
             field.value =  '     '+document.f_pop.f5.value +
                        document.f_pop.f6.value+ document.f_pop.f7.value+
                        document.f_pop.f8.value+ '        '+
-                       document.f_pop.f17.value+ document.f_pop.f18.value+' 450  ';
+                       document.f_pop.f17.value+ document.f_pop.f18.value+' 4500';
                window.close();
                return false;
        }