X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=opac%2Fopac-basket.pl;h=7b3a90afa4ebbed179ae32106c9dc48fa7d776bd;hb=6713ec802ab38995fa37c78b7ec629ad7732ef2b;hp=cf75eb7a7b4d22c2d8ccddb95d95b78e2c11ba28;hpb=0d4acbba5c5db238eb42ed37dc9ba3dc2f36974b;p=koha_fer diff --git a/opac/opac-basket.pl b/opac/opac-basket.pl index cf75eb7a7b..7b3a90afa4 100755 --- a/opac/opac-basket.pl +++ b/opac/opac-basket.pl @@ -78,6 +78,7 @@ foreach my $biblionumber ( @bibs ) { $hasauthors = 1; } my $collections = GetKohaAuthorisedValues('items.ccode',$dat->{'frameworkcode'}, 'opac'); + my $shelflocations =GetKohaAuthorisedValues('items.location',$dat->{'frameworkcode'}, 'opac'); # COinS format FIXME: for books Only my $coins_format; @@ -92,6 +93,9 @@ foreach my $biblionumber ( @bibs ) { my $branches = GetBranches(); for my $itm (@items) { + if ($itm->{'location'}){ + $itm->{'location_opac'} = $shelflocations->{$itm->{'location'} }; + } my ( $transfertwhen, $transfertfrom, $transfertto ) = GetTransfers($itm->{itemnumber}); if ( defined( $transfertwhen ) && $transfertwhen ne '' ) { $itm->{transfertwhen} = $transfertwhen;