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

(-)a/C4/HoldsQueue.pm (-2 / +6 lines)
Lines 896-902 are allowed to be passed to avoid calculating them many times inside loops. Link Here
896
sub update_queue_for_biblio {
896
sub update_queue_for_biblio {
897
    my ($args) = @_;
897
    my ($args) = @_;
898
    my $biblio_id = $args->{biblio_id};
898
    my $biblio_id = $args->{biblio_id};
899
    my $result;
899
900
    my $result = {
901
        requests        => 0,
902
        available_items => 0,
903
        mapped_items    => 0,
904
    };
900
905
901
    # We need to empty the queue for this biblio unless CreateQueue has emptied the entire queue for rebuilding
906
    # We need to empty the queue for this biblio unless CreateQueue has emptied the entire queue for rebuilding
902
    if ( $args->{delete} ) {
907
    if ( $args->{delete} ) {
903
- 

Return to bug 33184