]> git.koha-community.org Git - koha.git/commit
Bug 25944: Schema fix for illrequests route
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 7 Jul 2020 08:27:48 +0000 (09:27 +0100)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Fri, 18 Sep 2020 15:26:19 +0000 (17:26 +0200)
commitd8f82b234300d634e7f6b96fd30c50398adab2b0
tree3b2725a2253c43581d1e7aa64962f2ebd623334c
parent75951db15206e9209992ae9433042ac4cb918544
Bug 25944: Schema fix for illrequests route

The illrequests path was missing the `comments` and `status_alias`
embedable relations in the path specification.

Test plan:
1/ Ensure you have the latest Mojolicious + OpenAPI modules installed.
2/ Navigate to the ill requests page and note that the table is empty.
3/ Note that under the networking tab in your browsers developer tools
that the api call fails with a 400 error.
4/ Apply the patch
5/ Refresh the page
6/ The table should now load and the api route should return a proper
200 response.
7/ Signoff

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Magnus Enger <magnus@libriotech.no>
Applied the patch to a production server that was having the 400
error on the main ILL page, and the error was gone.
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 40ab030060d6cbacb0be9df981fb28a6ade705ea)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 0cd877fb743154a76642952f454df1502302338a)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
(cherry picked from commit f4c2d263ae0136e1a2d6ef0fb3dc1eed3a0a6266)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
api/v1/swagger/paths/illrequests.json