From 0f6d8bc057869caf6754c616e315baf86c723433 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 26 Jun 2023 15:15:31 +0100 Subject: [PATCH] Bug 33996: (QA follow-up) Fix mappings to match guidelines The date field guidelines are recorded on the wiki: https://wiki.koha-community.org/wiki/Coding_Guidelines_-_API#SWAGGER1.3.4.1_date.2Fdatetime.2Ftimestamp_fields Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 1b7b44b24d372cd95e1337c5a2557cadc99bf19a) Signed-off-by: Martin Renvoize --- Koha/Authority.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Authority.pm b/Koha/Authority.pm index d05192007a..509d2f9ae7 100644 --- a/Koha/Authority.pm +++ b/Koha/Authority.pm @@ -180,11 +180,11 @@ sub to_api_mapping { authid => 'authority_id', authtrees => undef, authtypecode => 'framework_id', - datecreated => 'creation_date', + datecreated => 'created_date', linkid => undef, marc => undef, marcxml => undef, - modification_time => 'updated_on', + modification_time => 'modified_date', origincode => undef, }; } -- 2.20.1