[Koha-bugs] [Bug 7263] Determine maximum length of some fields or subfields when cataloguing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 30 10:03:00 CEST 2012


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

--- Comment #15 from Magnus Enger <magnus at enger.priv.no> ---
(In reply to comment #14)
> You're not missing nothing, I missed to include in fresh installs this
> change. I'll push in a few minutes those files to update fields like 000,
> 008, 100 (unimarc)...

Yay! 

I'm working on a patch to change some things in the NORMARC frameworks anyway
(bug 7850), so I'll include the maxlength column for all subfields there, with
000 = 24 and 008 = 40. That should take care of fresh NORMARC installs. 

To be complete, updatedatabase.pl should do this part for NORMARC too: 

UPDATE marc_subfield_structure SET maxlength = IF ((SELECT value FROM
systempreferences WHERE variable = 'marcflavour')='NORMARC','40','9999') WHERE
tagfield='008';

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


More information about the Koha-bugs mailing list