[Koha-bugs] [Bug 8018] New subfields have a default max length of zero

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 11 18:44:50 CET 2013


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

--- Comment #1 from Pablo AB <pablo.bianchi at gmail.com> ---
I think I solved this problem, just adding something like $row_data{maxlength}
= "4"; near line 365 on marc_subfields_structure.pl:

@ -360,6 +360,9 @@
             -multiple => 0,
         );

+        # This (I think) fix Bug #8018
+        $row_data{maxlength}      = "4";
+
         $row_data{link}   = CGI::escapeHTML( $data->{'link'} );
         $row_data{row}    = $i;
         push( @loop_data, \%row_data );

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list