Bug 32126: Fix missing div breaking the form for adding more search fields
authorKatrin Fischer <katrin.fischer.83@web.de>
Tue, 15 Nov 2022 16:06:09 +0000 (16:06 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 29 Nov 2022 14:04:56 +0000 (14:04 +0000)
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.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit dd095aa8c44c2f057c2bddb0ecf0f2048be038d9)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/items_search_fields.tt

index f89a480..9c9837f 100644 (file)
@@ -99,6 +99,7 @@
                     </tbody>
                   </table>
               </div> <!-- /.page-section -->
+            </div> <!-- /#search_fields_list -->
           [% ELSE %]
                 <h1>Item search fields</h1>
               <div class="dialog message">