Bug 30536: Refer to parameters enum
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 14 Apr 2022 11:22:27 +0000 (12:22 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 3 May 2022 21:19:51 +0000 (11:19 -1000)
commit1c84009908e4b4abb89c6b8934ce7502a6e2933c
tree908129b4650ed2305d4e299a276731eb4d9242e4
parent384c9396f42383cea16f594bf4237198f0b7b7ff
Bug 30536: Refer to parameters enum

This patch updates the stash_embed method to use the parameters hash
enum instead of the top level x-koha-embed custom definition. This way
we can remove the requirement for defining this list twice.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/REST/Plugin/Query.pm