@@ -, +, @@ OpacAddMastheadLibraryPulldown commit 2059f7d8016ab61172830e9b670279d3e28882b7 Bug 16735: Migrate library search groups into the new hierarchical groups - Create library search groups - Turn OpacAddMastheadLibraryPulldown on - At the OPAC confirm that the search box with libraries and library - Remove the library search group - The dropdown list should not have the optgroup tags --- koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -224,9 +224,12 @@ [% IF LibrarySearchGroups %][% END %] - [% FOREACH BranchesLoo IN BranchesLoop %] - [% IF ( BranchesLoo.selected ) %] - [% ELSE %][% END %] + [% FOREACH library IN Branches.all( selected => opac_name ) %] + [% IF library.selected %] + + [% ELSE %] + + [% END %] [% END %] [% IF LibrarySearchGroups %] --