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

(-)a/acqui/orderreceive.pl (-1 / +1 lines)
Lines 144-150 if ($AcqCreateItem eq 'receiving') { Link Here
144
        $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({frameworkcode => $fw, kohafield => 'items.location', authorised_value => $item->{location} });
144
        $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({frameworkcode => $fw, kohafield => 'items.location', authorised_value => $item->{location} });
145
        $item->{location} = $descriptions->{lib} // '';
145
        $item->{location} = $descriptions->{lib} // '';
146
146
147
        $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({frameworkcode => $fw, kohafield => 'items.collection', authorised_value => $item->{collection} });
147
        $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({frameworkcode => $fw, kohafield => 'items.ccode', authorised_value => $item->{ccode} });
148
        $item->{collection} = $descriptions->{lib} // '';
148
        $item->{collection} = $descriptions->{lib} // '';
149
149
150
        $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({frameworkcode => $fw, kohafield => 'items.materials', authorised_value => $item->{materials} });
150
        $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({frameworkcode => $fw, kohafield => 'items.materials', authorised_value => $item->{materials} });
(-)a/catalogue/getitem-ajax.pl (-2 / +1 lines)
Lines 66-72 if($itemnumber) { Link Here
66
    $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({ frameworkcode => $fw, kohafield => 'items.location', authorised_value => $item->{location} });
66
    $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({ frameworkcode => $fw, kohafield => 'items.location', authorised_value => $item->{location} });
67
    $item->{location} = $descriptions->{lib} // '';
67
    $item->{location} = $descriptions->{lib} // '';
68
68
69
    $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({ frameworkcode => $fw, kohafield => 'items.collection', authorised_value => $item->{collection} });
69
    $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({ frameworkcode => $fw, kohafield => 'items.ccode', authorised_value => $item->{ccode} });
70
    $item->{collection} = $descriptions->{lib} // '';
70
    $item->{collection} = $descriptions->{lib} // '';
71
71
72
    $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({ frameworkcode => $fw, kohafield => 'items.materials', authorised_value => $item->{materials} });
72
    $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({ frameworkcode => $fw, kohafield => 'items.materials', authorised_value => $item->{materials} });
73
- 

Return to bug 22762