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

(-)a/opac/opac-search.pl (-1 / +4 lines)
Lines 211-216 $template->param(search_languages_loop => $languages_limit_loop,); Link Here
211
211
212
# load the Type stuff
212
# load the Type stuff
213
my $itemtypes = GetItemTypesCategorized;
213
my $itemtypes = GetItemTypesCategorized;
214
# add translated_description to itemtypes
215
foreach my $itemtype ( keys %{$itemtypes} ) {
216
    $itemtypes->{$itemtype}->{translated_description} = getitemtypeinfo( $itemtype, 'opac' )->{translated_description};
217
}
214
# the index parameter is different for item-level itemtypes
218
# the index parameter is different for item-level itemtypes
215
my $itype_or_itemtype = (C4::Context->preference("item-level_itypes"))?'itype':'itemtype';
219
my $itype_or_itemtype = (C4::Context->preference("item-level_itypes"))?'itype':'itemtype';
216
my @advancedsearchesloop;
220
my @advancedsearchesloop;
217
- 

Return to bug 15092