]> git.koha-community.org Git - koha.git/commit
Bug 30719: DB and API
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Fri, 12 May 2023 16:59:21 +0000 (16:59 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 17 Oct 2023 17:45:15 +0000 (14:45 -0300)
commit5bf5860370f2990fd2d756f546505c8c352dcd30
tree50338114013b82a49fe0c99e8290ea54a0cdb247
parent1cabc0ed6716ba92a88222248c13a312efc1c761
Bug 30719: DB and API

- Adds 'batch' accessor to Illrequest object
- New illbatches and illbatch_statuses tables
- New foreign key 'batch_id' in illrequests table
- Atomic update file
- Default illbatch_statuses
- Add 'add' ill_requests api method
- Add POST method in ill_requests path
- Add 'batch_id property to ill_request api definition
- Updated swagger.yml with new batches and batchstatuses endpoints

Co-authored-by: Andrew Isherwood <andrew.isherwood@ptfs-europe.com>
Signed-off-by: Edith Speller <Edith.Speller@ukhsa.gov.uk>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Illrequest.pm
Koha/REST/V1/Illrequests.pm
api/v1/swagger/definitions/ill_request.yaml
api/v1/swagger/paths/ill_requests.yaml
api/v1/swagger/swagger.yaml
installer/data/mysql/atomicupdate/bug_30719_add_ill_batches.pl [new file with mode: 0755]
installer/data/mysql/kohastructure.sql
installer/data/mysql/mandatory/illbatch_statuses.sql [new file with mode: 0644]