Browse Source

Bug 29346: (QA follow-up) Rebuild queue when adjusting priorities of holds

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
rmain2205
Nick Clemens 4 months ago
committed by Fridolin Somers
parent
commit
4a6cec6d0f
  1. 7
      reserve/modrequest.pl

7
reserve/modrequest.pl

@ -32,6 +32,7 @@ use C4::Output;
use C4::Reserves qw( ModReserve ModReserveCancelAll );
use C4::Auth qw( get_template_and_user );
use Koha::DateUtils qw( dt_from_string );
use Koha::BackgroundJob::BatchUpdateBiblioHoldsQueue;
my $query = CGI->new;
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
@ -96,6 +97,12 @@ else {
}
}
}
my @biblio_ids = uniq @biblionumber;
Koha::BackgroundJob::BatchUpdateBiblioHoldsQueue->new->enqueue(
{
biblio_ids => \@biblio_ids
}
);
}
my $from=$query->param('from');

Loading…
Cancel
Save