Bug 24155: Fix parameter order to fix search_utf8.t
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 1 Oct 2020 13:04:59 +0000 (15:04 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 1 Oct 2020 13:04:59 +0000 (15:04 +0200)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc

index 35ba5b9..bcba20c 100644 (file)
                             <div id="opac-main-search">
                                 [% IF Koha.Preference('OpacCustomSearch') == '' %]
                                     <form name="searchform" method="get" action="/cgi-bin/koha/opac-search.pl" id="searchform">
-                                        <input type="hidden" name="weight_search" value="1">
                                         <div class="form-row align-items-center">
                                             <div class="col-sm-auto order-1 order-sm-1">
                                                 <label for="masthead_search"> Search
                                                 </div>
                                             [% END # / OpacAddMastheadLibraryPulldown %]
                                         </div> <!-- /.form-row -->
+                                        <input type="hidden" name="weight_search" value="1">
                                     </form>
                                 [% ELSE # / Koha.Preference('OpacCustomSearch') == '' %]
                                     [% Koha.Preference('OpacCustomSearch') | $raw %]