[Koha-bugs] [Bug 13437] Convert marc21 framework plugins to new style
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu May 21 20:55:19 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13437
Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #39193|0 |1
is obsolete| |
--- Comment #17 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 39372
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39372&action=edit
[SIGNED-OFF] Bug 13437: Preliminary changes for marc21 plugins field 008
Preliminary work on marc21_field_008.pl and 008_authorities.pl.
Moving $dateentered en $defaultval to lower scope level.
date_entered is a new sub (in a module); sub Field008 has been reduced to
one line.
Added a trivial unit test for date_entered.
Note: the format used in date_entered could be added in DateUtils, moving
this logic to a better place.
Test plan:
Use both plugins in the marc21 editor (biblios/authorities).
Run the adjusted unit test.
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Both plugins works, no errors
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list