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

(-)a/catalogue/moredetail.pl (-1 / +5 lines)
Lines 248-254 foreach my $item (@items){ Link Here
248
    );
248
    );
249
249
250
    $item_info->{nomod} = !$patron->can_edit_items_from( $item->homebranch );
250
    $item_info->{nomod} = !$patron->can_edit_items_from( $item->homebranch );
251
    $item_info->{waiting_holds} = $item->holds({ found => [ 'W', 'T' ], item_level_hold => { '!=' => 0 } })->count;
251
252
    if ( C4::Context->preference('RevertLostBibLevelHolds') ) {
253
        $item_info->{waiting_holds} =
254
            $item->holds( { found => [ 'W', 'T' ], item_level_hold => { '!=' => 0 } } )->count;
255
    }
252
256
253
    push @item_data, $item_info;
257
    push @item_data, $item_info;
254
}
258
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt (-2 / +1 lines)
Lines 87-93 Link Here
87
[% IF item_not_found %]<div class="dialog alert"><strong>Cannot delete</strong>: Item not found.</div>[% END %]
87
[% IF item_not_found %]<div class="dialog alert"><strong>Cannot delete</strong>: Item not found.</div>[% END %]
88
88
89
[% IF waitinglostitems %]
89
[% IF waitinglostitems %]
90
    <div class="alert">
90
    <div class="dialog alert">
91
        The following item(s) have a waiting item-level hold and have been marked as lost.
91
        The following item(s) have a waiting item-level hold and have been marked as lost.
92
        <ul>
92
        <ul>
93
        [% FOREACH i IN waitinglostitems %]
93
        [% FOREACH i IN waitinglostitems %]
94
- 

Return to bug 20844