[Koha-bugs] [Bug 7345] Should be possible to export MARC records without private fields

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Dec 11 11:59:51 CET 2011


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

Frère Sébastien Marie <semarie-koha at latrappe.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |semarie-koha at latrappe.fr

--- Comment #2 from Frère Sébastien Marie <semarie-koha at latrappe.fr> 2011-12-11 10:59:51 UTC ---
I think the patch could have a better design if UNIMARC was handle better:
currently, if marcflavour is UNIMARC, "exporting records sans private fields"
will result "exporting records with private fields" without notice to users...

The design could be to have a hash with:
 - key $from_marcflavour
 - value a hash for function which are flavour dependent
(MARC::Record->new_from_usmarc' / 'is_privatefield')

And if not key, set $error to 'unimplemented'.

This will permit easily extend for other marcflavour...

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the Koha-bugs mailing list