]> git.koha-community.org Git - koha.git/commit
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)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 28 May 2024 19:24:53 +0000 (19:24 +0000)
commit0c553004cdbde82052460566c54ffca7786d5ac0
tree11f73bdd4c14bf2d4447c2a05b709da42220590c
parent1d124d492b62cf67195c7581cd2ff4da7f8f2d3b
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>
(cherry picked from commit dd8f9e1266f2b93b0d57f1f1289d49f61129391e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 0cd9d2f1842a93beb4dfb5cba26c64602bdf2d68)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
authorities/authorities.pl
cataloguing/addbiblio.pl