-
- my $shelflocations =GetKohaAuthorisedValues('items.location',$dat->{'frameworkcode'});
- my $collections = GetKohaAuthorisedValues('items.ccode',$dat->{'frameworkcode'});
-
- for my $itm (@items) {
- if ($itm->{'location'}){
- $itm->{'location_description'} = $shelflocations->{$itm->{'location'} };
- }
- }
- # COinS format FIXME: for books Only
- my $fmt = substr $record->leader(), 6,2;
- my $fmts;
- $fmts->{'am'} = 'book';
- $dat->{ocoins_format} = $fmts->{$fmt};
+
+ # COinS format FIXME: for books Only
+ my $fmt = substr $record->leader(), 6,2;
+ my $fmts;
+ $fmts->{'am'} = 'book';
+ $dat->{ocoins_format} = $fmts->{$fmt};