]> git.koha-community.org Git - koha.git/commit
Bug 17005: Add checked_in checkouts to REST API response
authorJosef Moravec <josef.moravec@gmail.com>
Mon, 1 Apr 2019 07:56:39 +0000 (07:56 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 8 Oct 2019 13:33:39 +0000 (14:33 +0100)
commit321b1c1f3c52a05e049c2b45d761cbb00e0724d4
treec8ce4f9be62def48994c3d5b42e16c3c93e9be9e
parentcf383c914875b3615db5e89ad6a5a21af059a4f8
Bug 17005: Add checked_in checkouts to REST API response

This patch implements parameter 'checked_in' on checkouts endpoint to
enable getting circulation history.

Test plan:
1) Apply the patch and restart plack
2) Use your favorite REST API tester and play with /checkouts endpoint:
    - use it without checked_in parameter
    - use checked_in=1 for getting returned checkouts

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/REST/V1/Checkouts.pm
Koha/Schema/Result/OldIssue.pm
api/v1/swagger/definitions/checkout.json
api/v1/swagger/paths/checkouts.json