Bug 36552: Update record 'date entered on file' when duplicating a record
authorJanusz Kaczmarek <januszop@gmail.com>
Wed, 26 Apr 2023 23:04:48 +0000 (01:04 +0200)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 12 Apr 2024 12:02:43 +0000 (14:02 +0200)
commitdd8f9e1266f2b93b0d57f1f1289d49f61129391e
treea01f6f46b766f69c41702c269ba20b2354550df6
parentc6641ef24f389e65a0dd90d3fd788f110f21158a
Bug 36552: Update record 'date entered on file' when duplicating a record

The 'date entered on file' (MARC21: 008/0-5, UNIMARC: 100a/0=7) of a record created
by duplication of an existing record should be set to the current date instead of
having the value of the original record.

Test plan
=========
1. Check the 'date entered on file' of an existing biblio / authotiry record
   (MARC21: 008/0-5, UNIMARC: 100a/0=7).
2. Duplicate the record by Edit > Edit as new (duplicate)
3. Control the 'date entered on file' value - it will equal to that of the
   original record.
4. Apply the patch (restart plack).
5. Repeat step 2.
6. Check the date - it should be the current date.

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
authorities/authorities.pl
cataloguing/addbiblio.pl