Lines 225-230
$template->param(search_languages_loop => $languages_limit_loop,);
Link Here
|
225 |
my $itemtypes = GetItemTypesCategorized; |
225 |
my $itemtypes = GetItemTypesCategorized; |
226 |
# add translated_description to itemtypes |
226 |
# add translated_description to itemtypes |
227 |
foreach my $itemtype ( keys %{$itemtypes} ) { |
227 |
foreach my $itemtype ( keys %{$itemtypes} ) { |
|
|
228 |
next if $itemtypes->{$itemtype}->{iscat}; |
228 |
# Itemtypes search categories don't have (yet) translated descriptions, they are auth values (and could still have no descriptions too BZ 18400) |
229 |
# Itemtypes search categories don't have (yet) translated descriptions, they are auth values (and could still have no descriptions too BZ 18400) |
229 |
my $translated_description = Koha::ItemTypes->find( $itemtype )->translated_description; |
230 |
my $translated_description = Koha::ItemTypes->find( $itemtype )->translated_description; |
230 |
$itemtypes->{$itemtype}->{translated_description} = $translated_description || $itemtypes->{$itemtype}->{description} || q{}; |
231 |
$itemtypes->{$itemtype}->{translated_description} = $translated_description || $itemtypes->{$itemtype}->{description} || q{}; |
231 |
- |
|
|