Bug 9192: let UNIMARC_sync_date_created_with_marc_biblio.pl create fields if needed
authorFridolyn SOMERS <fridolyn.somers@biblibre.com>
Mon, 3 Dec 2012 13:08:07 +0000 (14:08 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 5 Dec 2013 15:10:06 +0000 (12:10 -0300)
commit3ebb18be60d906fe5953a379e09cde4dd01f4516
tree81eb03263b00e77b727bd55ffff52d9a31be548f
parentdfa9f2f1a71a0862c2ea693200c3f18a9cbc8856
Bug 9192: let UNIMARC_sync_date_created_with_marc_biblio.pl create fields if needed

Prior to this patch, this script would only modify the date
created and modified fields; this patch changes the behavior
so that the fields can be created if they're not already present
in the record.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Mason James <mtj@kohaaloha.com>
Bug 9192: UNIMARC_sync_date_created_with_marc_biblio.pl field creation (followup)

Add tests :
if field < 10 it must not have a subfield
if field > 9 is must have a subfield

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Both patches applied, no koha-qa errors.

Bug 9192: followup fix typo

Fix typo on usage message.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 20022e5b58ea58b6dfdda9b8e1a75c1b4c0b0d73)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
misc/maintenance/UNIMARC_sync_date_created_with_marc_biblio.pl