@@ -, +, @@ the catalog'. correctly limiting to that branch. should correcrly limit to that branch and retain that branch in the dropdown, just like the OPAC. sure it is correctly searching all branches. sure it looks nice with both of those dropdowns and functions when you use limiters from both dropdowns. --- catalogue/search.pl | 6 ++++++ .../intranet-tmpl/prog/en/includes/catalogue-search-box.inc | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) --- a/catalogue/search.pl +++ a/catalogue/search.pl @@ -238,8 +238,14 @@ if($cgi->cookie("intranet_bib_list")){ my @search_groups = Koha::Library::Groups->get_search_groups( { interface => 'staff' } )->as_list; +my $branch_limit = ''; +if ( scalar $cgi->param('limit') =~ /branch:([\w-]+)/ ) { + $branch_limit = $1; +} + $template->param( search_groups => \@search_groups, + branch_limit => $branch_limit ); # load the Type stuff --- a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue-search-box.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue-search-box.inc @@ -10,7 +10,7 @@ [% IF ( Koha.Preference('IntranetAddMastheadLibraryPulldown') ) %] [% END %] --