[Koha] What notes fields show

Zeno Tajoli z.tajoli at cineca.it
Mon Jan 28 22:23:36 NZDT 2013


Hi Nicole,

Il 25/01/2013 18:50, Nicole Engard ha scritto:
> Bug 9162 says that all 5xx (MARC21) or 3xx (UNIMARC) fields show in the
> title notes tab, but that's not the case, I know that we have had people
> ask to add notes fields to that.  Can someone tell me what fields show in
> that tab by default - or tell me where to look in the code to find out?
> I'm documenting the new NotesBlacklist preference and want to say what
> fields show by default so you know which ones you can exclude.

in fact the bug description now is true.
The place to check is the routine GetMarcNotes in C4::Biblio.
With the line
1712     my $scope;
1713     if ( $marcflavour eq "UNIMARC" ) {
1714         $scope = '3..';
1715     } else {    # assume marc21 if not unimarc
1716         $scope = '5..';
1717     }

we take all the notes fields.

Bye
Zeno

-- 
Dr. Zeno Tajoli
Dipartimento Gestione delle Informazioni e della Conoscenza
z.tajoli at cineca.it
fax +39 02 2135520
CINECA - Sede operativa di Segrate


More information about the Koha mailing list