]> git.koha-community.org Git - koha.git/commit
Bug 33996: Add missing authority objects mapping
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 13 Jun 2023 13:13:40 +0000 (10:13 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 17 Jul 2023 14:45:59 +0000 (15:45 +0100)
commit11978e0f172b8a76d69d3fdf15548684e6d410be
treed7da8b140ba22cdf8e9d69fe0f0f4276aaf9259f
parent5edd76121ba4804599e3f3b29c0a223b2a9087d8
Bug 33996: Add missing authority objects mapping

This patch adds a minimal mapping (i.e. some things get excluded from
the API objects for now). It makes some attributes consistent with the
current API names, and the rest can be added later when they become
needed and we discuss a proper name. But right now is a mess :-/

To test:
1. Apply this patch
2. Run:
   $ ktd --shell
  k$ prove t/db_dependent/api/v1/authorities.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 3b0fc1fc41ce540a3f1373ec3d0e8aa84a31c046)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Authority.pm
t/db_dependent/api/v1/authorities.t