]> git.koha-community.org Git - koha.git/commit
Bug 32456: Preserve date accessioned if a date is not explicitly passed
authorNick Clemens <nick@bywatersolutions.com>
Tue, 13 Dec 2022 14:24:13 +0000 (14:24 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 19 Jan 2023 23:54:03 +0000 (23:54 +0000)
commit74f6b9a48d1ebddeafe60a95c7bc4b7f1ec93895
tree02228b373e575ff04ad8ce904011157f71f72760
parentee55a95279336da020f47057513f08be5580649e
Bug 32456: Preserve date accessioned if a date is not explicitly passed

To test:
 1 - Edit an item record to have a blank date accessioned
 2 - Save the record as marcxml from the detail page
 3 - Edit the item to have an accession date
 4 - Stage and import the file - matching in KohaBiblio and replacing items
 5 - Import the file
 6 - Confirm the date accessioned is cleared
 7 - Apply patch
 8 - Provide an accession date for the item
 9 - Stage and import the file again
10 - Confirm the date remained
11 - Edit the item to remove the date
12 - Confirm you can manually blank the field

Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 2255d42abdb45955e82634a7b6fe1e1af0242361)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
(cherry picked from commit 655cd366e0fdc33512cfc546301854cc67a6a03a)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
C4/Items.pm