From e92985359b3d8ee896eb6881fc7f76c94b8c960d Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 11 Apr 2023 12:03:42 +0200 Subject: [PATCH] Bug 33104: Prevent 'Type' to be cleared Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt index dc509ed7d9..06cf58746c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt @@ -551,7 +551,7 @@ interfaces = []; $("#interfaces > fieldset.supplier-interface > ol.interface-form").each( (index, interface_form )=> { let interface = {}; - $(interface_form).find('input,textarea').serializeArray().map(attr => { + $(interface_form).find('input,textarea,select').serializeArray().map(attr => { let name = attr.name.replace(/interface_([\w_]+)_\d+/, "$1"); interface[name] = attr.value }) -- 2.39.5