]> git.koha-community.org Git - koha.git/commit
Bug 38390: Add subscriptions+count to vendors embed
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 7 Nov 2024 12:59:40 +0000 (12:59 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Mon, 11 Nov 2024 16:43:23 +0000 (17:43 +0100)
commitce5c7695e24738d23dd658c514517a19ee660f5b
treed52b30c4922660ed62f8fa89e0f3263c92238e73
parent30bec5bb98242ea49d60dbab632ad17f8e524392
Bug 38390: Add subscriptions+count to vendors embed

This patch adds the subscriptions+count option to the embeddable enum
for the /vendors endpoint.

Test plan
1) Inspect the change to t/db_dependant/api/v1/acquisitions_vendors.t
   and confirm it's testing for the addition of subscriptions_count.
2) Run the above tests and confirm it passes

Note: For the above tests to pass, you will need to ensure your api
bundle is rebuilt after the patches are applied and restart plack.
`yarn build && restart_all` in ktd

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
api/v1/swagger/definitions/vendor.yaml
api/v1/swagger/paths/acquisitions_vendors.yaml
t/db_dependent/api/v1/acquisitions_vendors.t