From 53ea365828c4f989cac338859b89e350c9d3c2ef 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 --- 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 a20e4e5bc9..bba7bcb89e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt @@ -562,7 +562,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.30.2