]> git.koha-community.org Git - koha.git/commit
Bug 24321: Add Koha::Objects->attributes_from_api
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 31 Dec 2019 12:16:17 +0000 (09:16 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 8 Jan 2020 14:41:23 +0000 (14:41 +0000)
commitfabcedca05e4c5ba21888974bba31d0fe4b079e2
treed0f3168c98579db3831e49ccb172d181a6102f57
parentbadbd7d85913749e33d9bdba397dc79836080719
Bug 24321: Add Koha::Objects->attributes_from_api

This patch makes the 'attributes_from_api' method from the singular
class available from the result set class.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Objects.t
=> SUCCESS: Tests pass!
4. Sign off :-D
5. Yeah, I skipped 3 :-P

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Objects.pm
t/db_dependent/Koha/Objects.t