Koha/authorities
Janusz Kaczmarek b19a9b3f40
Bug 39559: YY is not interpreted as a default value for authorities
Strings as YYYY, MM, DD put as part of default value for authorities
are interpreted as year (four digits), month and day. YY is missing
(two digits year).  BTW, for bibliographic records it is <YYYY>, <YY>,
<MM>, <DD> (in Koha/UI/Form/Builder/Biblio.pm).

Test plan:
==========
1. Edit an authority framework of your choice
   (/cgi-bin/koha/admin/authtypes.pl), inserting a default value that
   contains YY for a known field.
2. Create a new authority record of the chosen type. Control the field
   for which a default value was defined. You should see YY.
3. Apply the patch ; restart_all.
4. Repeat p. 2. There should be a current year (two digits, like '25')
   in place of YY.

Signed-off-by: esther <esther@bywatersolutions.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2025-04-14 08:51:01 +02:00
..
auth_finder.pl Bug 38494: (QA follow-up) Add comment and extend pref desc 2025-03-20 17:23:06 +01:00
authorities-home.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
authorities.pl Bug 39559: YY is not interpreted as a default value for authorities 2025-04-14 08:51:01 +02:00
blinddetail-biblio-search.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
detail-biblio-search.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
detail.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
export.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
merge.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
merge_ajax.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
ysearch.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00