]> git.koha-community.org Git - koha.git/commit
Bug 33328: Rename x-marc-schema => x-record-schema
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 23 Mar 2023 22:46:48 +0000 (19:46 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 11 May 2023 11:17:02 +0000 (12:17 +0100)
commit3a67605dc80c087ef82a105da5593f2342dafdb5
treec3b5d6dee855d388aefb5dc6fb17c3e1cd41e1aa
parent13bf7f1b7d24e4ba9fcd1b1e7684f512ff5be781
Bug 33328: Rename x-marc-schema => x-record-schema

This patch renames the header on the biblio API so it is not entirely
tied to MARC, trying to follow the biblio_metadata table generic
approach.

To test:
1. Apply this patch
2. Run:
   $ prove t/db_dependent/api/v1/biblios.t
=> SUCCESS: Tests pass
3. You agree with the change?
4. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Magnus Enger <magnus@libriotech.no>
Change sounds reasonable. Tests pass before and after patch.
"grep -r "x-marc-schema" *" confirms no occurrences after patch.
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 00629fe94f728fda4d24a64855ed2768a88e0357)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/REST/V1/Biblios.pm
api/v1/swagger/swagger.yaml
t/db_dependent/api/v1/biblios.t