[Koha-bugs] [Bug 13867] change input in 245$a and 245$c for textarea
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 19 09:10:24 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13867
--- Comment #1 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
This is hardcoded in addbiblio:
if (
length($value) > 100
or
( C4::Context->preference("marcflavour") eq "UNIMARC" && $tag >=
300
and $tag < 400 && $subfield eq 'a' )
or ( $tag >= 500
and $tag < 600
&& C4::Context->preference("marcflavour") eq "MARC21" )
)
[ then textarea ... ]
Note that if you save a string of 101 chars and re-edit, you should get a
textarea..
A regex from a syspref instead of the hardcoded 500 and 600 here would be an
idea..
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list