We need those mappings for the API.
Created attachment 97623 [details] [review] Bug 24461: Add to_api_mapping to Koha::Acquisition::BasketGroup This patch adds to_api_mapping to the Koha::Acquistion::BasketGroup class. To test: 1. Compare the mapping with the one on the RFC => SUCCESS: They match 2. Sigh off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Created attachment 100278 [details] [review] Bug 24461: Add to_api_mapping to Koha::Acquisition::BasketGroup This patch adds to_api_mapping to the Koha::Acquistion::BasketGroup class. To test: 1. Compare the mapping with the one on the RFC => SUCCESS: They match 2. Sigh off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Looking good to me.. SO
Created attachment 101536 [details] [review] Bug 24461: Add to_api_mapping to Koha::Acquisition::BasketGroup This patch adds to_api_mapping to the Koha::Acquistion::BasketGroup class. To test: 1. Compare the mapping with the one on the RFC => SUCCESS: They match 2. Sigh off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Amended patch: remove extra lines between methods koha_object[s]_class. That's how they are in other modules.
Created attachment 101537 [details] [review] Bug 24461: Add to_api_mapping to Koha::Acquisition::BasketGroup This patch adds to_api_mapping to the Koha::Acquistion::BasketGroup class. To test: 1. Compare the mapping with the one on the RFC => SUCCESS: They match 2. Sigh off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Amended patch: remove extra lines between methods koha_object[s]_class. That's how they are in other modules.
Nice work everyone! Pushed to master for 20.05
not backported to 19.11.x