Koha/cataloguing/value_builder
Petro Vashchuk b90729dafb Bug 29963: Do not prefill empty date fields with today's date
Revert "Bug 29815: Pre-populate 'Date acquired' field when adding/editing items"
commit bd197c6456

Items date fields in MARC framework with dateaccessioned.pl assigned as
plugin automatically prefilled by it with today's date if empty on page
load.

This becomes big problem because it silently changes empty date fields
in single item edit form with today's date. This drastically degrades
UX because user won't noitce that fields were filled.

Also, even when user aware about this problem, user is forced to clean
the field manually each time they edit items with empty fields.

Also in item batch edit tool the probability heavily increases to make
mistake and leave those fields prefilled on mass.

To reproduce problem with single item edit:
1. Edit single item that doesn't have a date set in any of the date
fields where dateaccessioned.pl in MARC framework assigned as plugin,
see that the field got prefilled with today's date.
2. Save the item. See that it overwrote the previously empty date.
3. Apply the patch.
4. Edit single item again, and ensure that the empty date fields don't
get overwriten like it happened previously.

To reproduce problem with bath edit:
1. Edit items in batch for any biblio, see that the date fields where
dateaccessioned.pl in MARC framework assigned as plugin is automatically
 set to current day's date.
2. Apply the patch.
3. Check the fields again, they should be empty after that.

Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 926def44c0)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2022-07-13 20:31:23 +00:00
..
barcode.pl Bug 29689: (bug 28445 follow-up) Fix AutoBarcode=hbyymmincr 2022-01-03 21:37:40 -10:00
barcode_manual.pl Bug 29689: (bug 28445 follow-up) Fix AutoBarcode=hbyymmincr 2022-01-03 21:37:40 -10:00
callnumber-KU.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
callnumber.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
cn_browser.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
dateaccessioned.pl Bug 29963: Do not prefill empty date fields with today's date 2022-07-13 20:31:23 +00:00
EXAMPLE.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
marc21_field_005.pl
marc21_field_006.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
marc21_field_007.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
marc21_field_008.pl Bug 27461: Right pad with default elements for too short 008s 2021-09-28 15:12:45 +02:00
marc21_field_008_authorities.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
marc21_field_008_classifications.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
marc21_field_245h.pl
marc21_field_260b.pl
marc21_leader.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
marc21_leader_authorities.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
marc21_linking_section.pl Bug 29609: Centralized code to build the link to a biblio detail page 2022-04-08 15:49:16 +02:00
marc21_orgcode.pl
stocknumber.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
stocknumberam123.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
stocknumberAV.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
unimarc_field_4XX.pl Bug 29609: Centralized code to build the link to a biblio detail page 2022-04-08 15:49:16 +02:00
unimarc_field_010.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_100.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_100_authorities.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_105.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_106.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_110.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_115a.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_115b.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_116.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_117.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_120.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_121a.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_121b.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_122.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_123a.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_123d.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_123e.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_123f.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_123g.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_123i.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_123j.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_124.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_124a.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_124b.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_124c.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_124d.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_124e.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_124f.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_124g.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_125.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_125a.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_125b.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_126.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_126a.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_126b.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_127.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_128a.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_128b.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_128c.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_130.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_135a.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_140.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_141.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_146a.pl Bug 30604: Add value builders for UNIMARC 146 ($a, $h and $i) 2022-05-06 10:33:10 -10:00
unimarc_field_146h.pl Bug 30604: Add value builders for UNIMARC 146 ($a, $h and $i) 2022-05-06 10:33:10 -10:00
unimarc_field_146i.pl Bug 30604: Add value builders for UNIMARC 146 ($a, $h and $i) 2022-05-06 10:33:10 -10:00
unimarc_field_210c.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_210c_bis.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_225a.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_225a_bis.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_686a.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_field_700-4.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_leader.pl Bug 28769: Remove tabloop from cataloguing plugins 2021-10-18 11:28:40 +02:00
unimarc_leader_authorities.pl Bug 28769: (QA follow-up) Fix another occurrence 2021-10-18 11:28:40 +02:00
upload.pl