Bugzilla – Attachment 134225 Details for
Bug 29346
Real-time holds queue update
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29346: (QA follow-up) Rebuild queue when adjusting priorities of holds
Bug-29346-QA-follow-up-Rebuild-queue-when-adjustin.patch (text/plain), 1.06 KB, created by
Nick Clemens
on 2022-04-28 12:13:22 UTC
(
hide
)
Description:
Bug 29346: (QA follow-up) Rebuild queue when adjusting priorities of holds
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2022-04-28 12:13:22 UTC
Size:
1.06 KB
patch
obsolete
>From 01ba7ab0a9d949b25dc201933f9163c83bc7cd45 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 28 Apr 2022 12:04:40 +0000 >Subject: [PATCH] Bug 29346: (QA follow-up) Rebuild queue when adjusting > priorities of holds > >--- > reserve/modrequest.pl | 7 +++++++ > 1 file changed, 7 insertions(+) > >diff --git a/reserve/modrequest.pl b/reserve/modrequest.pl >index d1317a0050..4f044306d0 100755 >--- a/reserve/modrequest.pl >+++ b/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'); >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29346
:
131088
|
131089
|
131811
|
131812
|
131813
|
131815
|
132078
|
132079
|
132080
|
132081
|
132082
|
132083
|
133183
|
133184
|
133185
|
133186
|
133187
|
133188
|
133189
|
133190
|
133191
|
133205
|
133991
|
133992
|
133993
|
133994
|
133995
|
133996
|
133997
|
133998
|
133999
|
134000
|
134001
|
134010
|
134225
|
134227
|
134309
|
134310
|
134311
|
134312
|
134313
|
134314
|
134315
|
134316
|
134317
|
134318
|
134319
|
134320
|
134321
|
134322
|
134328
|
134329
|
134330
|
134331
|
134332
|
134333
|
134334
|
134335
|
134336
|
134337
|
134338
|
134339
|
134340
|
134341
|
134342
|
134343