Bugzilla – Attachment 152689 Details for
Bug 33996
Authority objects missing mapping
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33996: (QA follow-up) Fix mappings to match guidelines
Bug-33996-QA-follow-up-Fix-mappings-to-match-guide.patch (text/plain), 1.18 KB, created by
Martin Renvoize (ashimema)
on 2023-06-26 14:17:23 UTC
(
hide
)
Description:
Bug 33996: (QA follow-up) Fix mappings to match guidelines
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-06-26 14:17:23 UTC
Size:
1.18 KB
patch
obsolete
>From dea8e3a4cb6272973ccc83d6f94771247e7afa59 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >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 <martin.renvoize@ptfs-europe.com> >--- > 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.41.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33996
:
152293
|
152341
|
152688
| 152689