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

(-)a/C4/Circulation.pm (-2 lines)
Lines 2824-2831 sub AddReturn { Link Here
2824
            }
2824
            }
2825
        );
2825
        );
2826
2826
2827
        Koha::BackgroundJob::BatchUpdateBiblioHoldsQueue->new->enqueue( { biblio_ids => [ $item->biblionumber ] } )
2828
            if C4::Context->preference('RealTimeHoldsQueue');
2829
    }
2827
    }
2830
2828
2831
    return ( $doreturn, $messages, $issue, ( $patron ? $patron->unblessed : {} ) );
2829
    return ( $doreturn, $messages, $issue, ( $patron ? $patron->unblessed : {} ) );
(-)a/circ/returns.pl (+8 lines)
Lines 257-262 if ( $op eq 'cud-dotransfer' ) { Link Here
257
    $transfer->transit;
257
    $transfer->transit;
258
}
258
}
259
259
260
if ( $op eq 'cud-ignore_reserve' ) {
261
    my $ignored_item = $query->param('ignoreitem');
262
    my $item         = Koha::Items->find($ignored_item);
263
    Koha::BackgroundJob::BatchUpdateBiblioHoldsQueue->new->enqueue( { biblio_ids => [ $item->biblionumber ] } )
264
        if C4::Context->preference('RealTimeHoldsQueue');
265
266
}
267
260
if ( $transit && $op eq 'cud-transfer' ) {
268
if ( $transit && $op eq 'cud-transfer' ) {
261
    my $transfer = Koha::Item::Transfers->find($transit);
269
    my $transfer = Koha::Item::Transfers->find($transit);
262
    if ($canceltransfer) {
270
    if ($canceltransfer) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-2 / +14 lines)
Lines 749-755 Link Here
749
749
750
                                <input type="hidden" name="print_slip" value="0" />
750
                                <input type="hidden" name="print_slip" value="0" />
751
                                <button type="button" class="btn btn-default print" accesskey="P"> <i class="fa fa-print"></i> Print slip and confirm (P) </button>
751
                                <button type="button" class="btn btn-default print" accesskey="P"> <i class="fa fa-print"></i> Print slip and confirm (P) </button>
752
                                <button data-bs-dismiss="modal" type="submit" class="btn btn-default ignore" accesskey="I"> <i class="fa fa-times"></i> Ignore (I) </button>
752
                                <form method="post" action="returns.pl" class="confirm">
753
                                    <input type="hidden" name="op" value="cud-ignore_reserve" />
754
                                    <input type="hidden" name="ignoreitem" value="[% itemnumber | html %]" />
755
                                    [% INCLUDE 'csrf-token.inc' %]
756
                                    [% FOREACH inputloo IN inputloop %]
757
                                        <input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" />
758
                                        <input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" />
759
                                        <input type="hidden" name="bn-[% inputloo.counter | html %]" value="[% inputloo.borrowernumber | html %]" />
760
                                        <input type="hidden" name="nr-[% inputloo.counter | html %]" value="[% inputloo.not_returned | html %]" />
761
                                    [% END %]
762
                                    <button type="submit" data-bs-dismiss="modal" class="btn btn-default deny" accesskey="i">
763
                                        <i class="fa fa-times"></i> Ignore (I)
764
                                    </button>
765
                                </form>
753
766
754
                                <fieldset class="action">
767
                                <fieldset class="action">
755
                                    [% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %]
768
                                    [% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %]
756
- 

Return to bug 34596