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 69-75 if($itemnumber) { Link Here
69
    $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({ frameworkcode => $fw, kohafield => 'items.location', authorised_value => $item->location });
69
    $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({ frameworkcode => $fw, kohafield => 'items.location', authorised_value => $item->location });
70
    $item_unblessed->{location} = $descriptions->{lib} // '';
70
    $item_unblessed->{location} = $descriptions->{lib} // '';
71
71
72
    $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({ frameworkcode => $fw, kohafield => 'items.collection', authorised_value => $item->collection });
72
    $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({ frameworkcode => $fw, kohafield => 'items.ccode', authorised_value => $item->ccode });
73
    $item_unblessed->{collection} = $descriptions->{lib} // '';
73
    $item_unblessed->{collection} = $descriptions->{lib} // '';
74
74
75
    $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({ frameworkcode => $fw, kohafield => 'items.materials', authorised_value => $item->materials });
75
    $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({ frameworkcode => $fw, kohafield => 'items.materials', authorised_value => $item->materials });
76
- 

Return to bug 22762