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

(-)a/opac/opac-search.pl (-5 / +4 lines)
Lines 217-226 my $branches = GetBranches(); # used later in *getRecords, probably should be Link Here
217
my $library_categories = Koha::LibraryCategories->search( { categorytype => 'searchdomain' }, { order_by => [ 'categorytype', 'categorycode' ] } );
217
my $library_categories = Koha::LibraryCategories->search( { categorytype => 'searchdomain' }, { order_by => [ 'categorytype', 'categorycode' ] } );
218
$template->param( searchdomainloop => $library_categories );
218
$template->param( searchdomainloop => $library_categories );
219
219
220
# load the language limits (for search)
221
my $languages_limit_loop = getLanguages($lang, 1);
222
$template->param(search_languages_loop => $languages_limit_loop,);
223
224
# load the Type stuff
220
# load the Type stuff
225
my $itemtypes = GetItemTypesCategorized;
221
my $itemtypes = GetItemTypesCategorized;
226
# add translated_description to itemtypes
222
# add translated_description to itemtypes
Lines 303-308 $template->param(advancedsearchesloop => \@advancedsearchesloop); Link Here
303
299
304
# The following should only be loaded if we're bringing up the advanced search template
300
# The following should only be loaded if we're bringing up the advanced search template
305
if ( $template_type && $template_type eq 'advsearch' ) {
301
if ( $template_type && $template_type eq 'advsearch' ) {
302
    # load the language limits (for search)
303
    my $languages_limit_loop = getLanguages($lang, 1);
304
    $template->param(search_languages_loop => $languages_limit_loop);
305
306
    # load the servers (used for searching -- to do federated searching, etc.)
306
    # load the servers (used for searching -- to do federated searching, etc.)
307
    my $primary_servers_loop;# = displayPrimaryServers();
307
    my $primary_servers_loop;# = displayPrimaryServers();
308
    $template->param(outer_servers_loop =>  $primary_servers_loop,);
308
    $template->param(outer_servers_loop =>  $primary_servers_loop,);
309
- 

Return to bug 16734