]> git.koha-community.org Git - koha.git/commit
Bug 32336: (QA follow-up) Use $metadata->schema
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 23 Mar 2023 23:16:37 +0000 (20:16 -0300)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Tue, 11 Apr 2023 11:17:28 +0000 (11:17 +0000)
commit4abb30f84466b85cbdf9ca20612e5cd7cd06594e
tree7b2eef3261471d497fa58267694a8f4cd9b486b9
parentbe4ff830909688e44780654285dd2df5d74aa0a9
Bug 32336: (QA follow-up) Use $metadata->schema

When we worked on Koha::Biblio::Metadata, we agreed
biblio_metadata.schema would be the sourceof truth when it comes to the
record schema.

This patch acknowledges that, while retaining the fallback to the
syspref.

To test:
1. Apply this patch
2. Run:
   $ prove t/db_dependent/api/v1/biblios.t
=> SUCCESS: Tests pass, behavior is unchanged.
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 075ef09f48b66df7766c22e1c9ecf1d3cf7a039a)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Koha/REST/V1/Biblios.pm