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

(-)a/C4/Circulation.pm (-2 lines)
Lines 2836-2843 sub AddReturn { Link Here
2836
            }
2836
            }
2837
        );
2837
        );
2838
2838
2839
        Koha::BackgroundJob::BatchUpdateBiblioHoldsQueue->new->enqueue( { biblio_ids => [ $item->biblionumber ] } )
2840
            if C4::Context->preference('RealTimeHoldsQueue');
2841
    }
2839
    }
2842
2840
2843
    return ( $doreturn, $messages, $issue, ( $patron ? $patron->unblessed : {} ) );
2841
    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 / +12 lines)
Lines 750-756 Link Here
750
750
751
                                <input type="hidden" name="print_slip" value="0" />
751
                                <input type="hidden" name="print_slip" value="0" />
752
                                <button type="button" class="btn btn-default print" accesskey="P"> <i class="fa fa-print"></i> Print slip and confirm (P) </button>
752
                                <button type="button" class="btn btn-default print" accesskey="P"> <i class="fa fa-print"></i> Print slip and confirm (P) </button>
753
                                <button data-bs-dismiss="modal" type="submit" class="btn btn-default ignore" accesskey="I"> <i class="fa fa-times"></i> Ignore (I) </button>
753
                                <form method="post" action="returns.pl" class="confirm">
754
                                    <input type="hidden" name="op" value="cud-ignore_reserve" />
755
                                    <input type="hidden" name="ignoreitem" value="[% itemnumber | html %]" />
756
                                    [% INCLUDE 'csrf-token.inc' %]
757
                                    [% FOREACH inputloo IN inputloop %]
758
                                        <input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" />
759
                                        <input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" />
760
                                        <input type="hidden" name="bn-[% inputloo.counter | html %]" value="[% inputloo.borrowernumber | html %]" />
761
                                        <input type="hidden" name="nr-[% inputloo.counter | html %]" value="[% inputloo.not_returned | html %]" />
762
                                    [% END %]
763
                                    <button type="submit" data-bs-dismiss="modal" class="btn btn-default deny" accesskey="i"> <i class="fa fa-times"></i> Ignore (I) </button>
764
                                </form>
754
765
755
                                <fieldset class="action">
766
                                <fieldset class="action">
756
                                    [% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %]
767
                                    [% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %]
757
- 

Return to bug 34596