View | Details | Raw Unified | Return to bug 20157
Collapse All | Expand All

(-)a/C4/Auth.pm (-1 / +1 lines)
Lines 513-519 sub get_template_and_user { Link Here
513
            $opac_name = C4::Context->userenv->{'branch'};
513
            $opac_name = C4::Context->userenv->{'branch'};
514
        }
514
        }
515
515
516
        my @search_groups = Koha::Library::Groups->get_search_groups();
516
        my @search_groups = Koha::Library::Groups->get_search_groups({ interface => 'opac' });
517
        $template->param(
517
        $template->param(
518
            OpacAdditionalStylesheet                   => C4::Context->preference("OpacAdditionalStylesheet"),
518
            OpacAdditionalStylesheet                   => C4::Context->preference("OpacAdditionalStylesheet"),
519
            AnonSuggestions                       => "" . C4::Context->preference("AnonSuggestions"),
519
            AnonSuggestions                       => "" . C4::Context->preference("AnonSuggestions"),
(-)a/catalogue/search.pl (-5 / +1 lines)
Lines 209-219 if($cgi->cookie("intranet_bib_list")){ Link Here
209
    @cart_list = split(/\//, $cart_list);
209
    @cart_list = split(/\//, $cart_list);
210
}
210
}
211
211
212
my @search_groups_opac =
212
my @search_groups =
213
  Koha::Library::Groups->get_search_groups( { interface => 'opac' } );
214
my @search_groups_staff =
215
  Koha::Library::Groups->get_search_groups( { interface => 'staff' } );
213
  Koha::Library::Groups->get_search_groups( { interface => 'staff' } );
216
my @search_groups = ( @search_groups_opac, @search_groups_staff );
217
@search_groups = sort { $a->title cmp $b->title } @search_groups;
214
@search_groups = sort { $a->title cmp $b->title } @search_groups;
218
215
219
$template->param(
216
$template->param(
220
- 

Return to bug 20157