]> git.koha-community.org Git - koha.git/commit
Bug 24432: add Koha::Objects->from_api_mapping
authorAgustin Moyano <agustinmoyano@theke.io>
Wed, 15 Jan 2020 23:10:01 +0000 (20:10 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 23 Jan 2020 08:52:44 +0000 (08:52 +0000)
commit62da76b84b4714851a1be3d33a565382d5d1037a
treead27e78316b529737febcd5c92a8fb7d440fc074
parentd8bd366b5c5ce36e52b3c8466d08feeeed5098d9
Bug 24432: add Koha::Objects->from_api_mapping

This patch adds from_api_mapping to Koha::Objects, in order to be able to get the mapping from a result set.

To test:
1. apply this patch
2. prove t/db_dependent/Koha/Objects.t
3. sign off

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Objects.pm
t/db_dependent/Koha/Objects.t