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

(-)a/catalogue/moredetail.pl (-12 / +4 lines)
Lines 273-291 foreach my $item (@items) { Link Here
273
        $item_info->{displays}      = \@displays      if @displays;
273
        $item_info->{displays}      = \@displays      if @displays;
274
    }
274
    }
275
275
276
    if ( C4::Context->preference('UseDisplayModule') && $item->effective_homebranch ) {
276
    $item_info->{homebranch} = $item->effective_homebranch
277
        my $effective_homebranch    = $item->effective_homebranch;
277
        if ( C4::Context->preference('UseDisplayModule') && $item->effective_homebranch );
278
        my $effective_homebranch_id = $item->effective_homebranch->branchcode;
279
278
280
        $item_info->{homebranch} = $effective_homebranch_id;
279
    $item_info->{holdingbranch} = $item->effective_holdingbranch
281
    }
280
        if ( C4::Context->preference('UseDisplayModule') && $item->effective_holdingbranch );
282
283
    if ( C4::Context->preference('UseDisplayModule') && $item->effective_holdingbranch ) {
284
        my $effective_holdingbranch    = $item->effective_holdingbranch;
285
        my $effective_holdingbranch_id = $item->effective_holdingbranch->branchcode;
286
287
        $item_info->{holdingbranch} = $effective_holdingbranch_id;
288
    }
289
281
290
    push @item_data, $item_info;
282
    push @item_data, $item_info;
291
}
283
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt (-3 / +2 lines)
Lines 250-257 Link Here
250
                                                            [% IF ( itemsloo.biblio.biblioitem.isbn ) %]<span>ISBN: [% itemsloo.biblio.biblioitem.isbn | html %]</span>[% END %]
250
                                                            [% IF ( itemsloo.biblio.biblioitem.isbn ) %]<span>ISBN: [% itemsloo.biblio.biblioitem.isbn | html %]</span>[% END %]
251
                                                        </div>
251
                                                        </div>
252
                                                    </td>
252
                                                    </td>
253
                                                    <td class="hq-holdingbranch">[% itemsloo.item.effective_holdingbranch.branchname | html %]</td>
253
                                                    <td class="hq-holdingbranch">[% itemsloo.item.effective_holdingbranch | html %]</td>
254
                                                    <td class="hq-homebranch">[% itemsloo.item.effective_homebranch.branchname | html %]</td>
254
                                                    <td class="hq-homebranch">[% itemsloo.item.effective_homebranch | html %]</td>
255
                                                    <td class="hq-collection">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => itemsloo.item.effective_collection_code ) | html %]</td>
255
                                                    <td class="hq-collection">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => itemsloo.item.effective_collection_code ) | html %]</td>
256
                                                    <td class="hq-location"> [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => itemsloo.item.effective_location ) | html %] </td>
256
                                                    <td class="hq-location"> [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => itemsloo.item.effective_location ) | html %] </td>
257
                                                    <td class="hq-itemtype">[% ItemTypes.GetDescription( itemsloo.item.effective_itemtype ) | html %]</td>
257
                                                    <td class="hq-itemtype">[% ItemTypes.GetDescription( itemsloo.item.effective_itemtype ) | html %]</td>
258
- 

Return to bug 14962