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

(-)a/C4/ILSDI/Services.pm (-3 / +2 lines)
Lines 254-262 sub GetRecords { Link Here
254
            $item{'holdingbranchname'} = $holding_library ? $holding_library->branchname : '';
254
            $item{'holdingbranchname'} = $holding_library ? $holding_library->branchname : '';
255
255
256
            if ($item->location) {
256
            if ($item->location) {
257
                my $authorised_value = Koha::AuthorisedValues->find_by_koha_field({ kohafield => 'items.location', authorised_value => $item->location });
257
                my $authorised_value = Koha::AuthorisedValues->get_description_by_koha_field({frameworkcode => '', kohafield => 'items.location', authorised_value => $item->location });
258
                if ($authorised_value) {
258
                if ($authorised_value) {
259
                    $item{location_description} = $authorised_value->opac_description;
259
                    $item{location_description} = $authorised_value->{opac_description};
260
                }
260
                }
261
            }
261
            }
262
262
263
- 

Return to bug 36315