https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17519
--- Comment #1 from Marcel de Rooy <[email protected]> --- Created attachment 56984 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56984&action=edit Bug 17519: Item editor handles clearing dateaccessioned and replacementpricedate inconsistently This patch adds dateaccessioned to the hash built by Items routine _build_default_values_for_mod_marc, used in ModItemFromMarc when modifying an item. Normally, dateaccessioned will already have a value, and this change has no effect. The only exception is: when you modify an item and for some reason want to clear the dateaccessioned field, the item editor did not respond to that change. This change makes it possible to do so. This is consistent with the other date in the item editor (replacementpricedate) where you can already clear the date. Test plan: [1] Do not yet apply this patch. [2] Try to clear date acquired and replacementpricedate in the Item editor. Save and check results. You should still find the original date acquired in the saved record. [3] Apply the patch (restart Plack?), restore replacementpricedate, and repeat step 2. Both dates should be cleared. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
