]> git.koha-community.org Git - koha.git/commit
Bug 29810: Add 'x-koha-embed' to reserved words
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 24 Mar 2022 14:19:35 +0000 (14:19 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 12 Apr 2022 09:40:16 +0000 (11:40 +0200)
commit6a3f1027ea33b38258088d1f651898facc6beb6c
tree235b8fb602712899fc591e3b92a8cea47dc82b98
parentde14e5c37a5aad5ce31418c3ae883afef758915c
Bug 29810: Add 'x-koha-embed' to reserved words

The maintainers of Mojolicious::Plugin::OpenAPI and friends fixed the
problem with using collectionFormat for Headers in the upstream library.

However, this highlighted an outstanding issue in our code when I ran
the unit tests. We have not been stripping x-koha-embed at the query
level as it did not exist in the reserved_words list.  This patch
resolves that and gets the acquisitions_orders test passing again.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/REST/Plugin/Query.pm
t/db_dependent/api/v1/acquisitions_orders.t