Bug 30719: (QA follow-up) Rewrite Illbatches list endpoint
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Mon, 9 Oct 2023 15:29:58 +0000 (15:29 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 17 Oct 2023 17:45:21 +0000 (14:45 -0300)
commit3801c65bee66a7eb5c982ea8267163fe89de6fdd
tree08381ef810c56a73ba892e391d763ab96d893dfa
parentedb048de78bccf1bc7b9c9d84284cdb0228ca4be
Bug 30719: (QA follow-up) Rewrite Illbatches list endpoint

Update accessors
Add +strings embed
Add x-koha-embed to batches list andpoint
Add embed to API call from the front-end
Update table to get data from _strings
Add x-koha-embed to tests
Add strings_map to Illbatch
Add to_api_mapping to Illbatch

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Illbatch.pm
Koha/REST/V1/Illbatches.pm
api/v1/swagger/definitions/ill_batch.yaml
api/v1/swagger/paths/ill_batches.yaml
koha-tmpl/intranet-tmpl/prog/js/ill-batch-table.js
t/db_dependent/api/v1/ill_batches.t