From b177e23d5b2a643b7a00df1516e8a5cbfb28f9dd Mon Sep 17 00:00:00 2001
From: Katrin Fischer <katrin.fischer.83@web.de>
Date: Tue, 15 Nov 2022 16:06:09 +0000
Subject: [PATCH] Bug 32126: Fix missing div breaking the form for adding more
 search fields

The missing div caused a problem with the JS that controls
visibility of the list of search fields, the form and the toolbar.
With the div added, everything should now work as expected.

To test:
* Add a item search field, everything should work.
* Add a second item search field - intead of the form, you'll see an empty page.
* Apply patch.
* Add second and more search fields, all should work.
* Edit search fields.
* Delete search fields.
---
 .../intranet-tmpl/prog/en/modules/admin/items_search_fields.tt   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/items_search_fields.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/items_search_fields.tt
index f89a480f94..9c9837f2dc 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/items_search_fields.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/items_search_fields.tt
@@ -99,6 +99,7 @@
                     </tbody>
                   </table>
               </div> <!-- /.page-section -->
+            </div> <!-- /#search_fields_list -->
           [% ELSE %]
                 <h1>Item search fields</h1>
               <div class="dialog message">
-- 
2.30.2