Bugzilla – Attachment 161232 Details for
Bug 32565
Holds placed when all libraries are closed do not get added to holds queue if HoldsQueueSkipClosed and RealTimeHoldsQueue are enabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32565: WIP - Minor fixes to have WIP working
Bug-32565-WIP---Minor-fixes-to-have-WIP-working.patch (text/plain), 1.45 KB, created by
Pedro Amorim
on 2024-01-22 10:49:19 UTC
(
hide
)
Description:
Bug 32565: WIP - Minor fixes to have WIP working
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-01-22 10:49:19 UTC
Size:
1.45 KB
patch
obsolete
>From b934b06dd91e04e5f581d4c697584cd35d897a51 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Mon, 22 Jan 2024 10:48:53 +0000 >Subject: [PATCH] Bug 32565: WIP - Minor fixes to have WIP working > >--- > C4/HoldsQueue.pm | 2 +- > misc/cronjobs/holds/build_holds_queue.pl | 1 + > 2 files changed, 2 insertions(+), 1 deletion(-) > >diff --git a/C4/HoldsQueue.pm b/C4/HoldsQueue.pm >index 2ee9fdf478..40de1dcad6 100644 >--- a/C4/HoldsQueue.pm >+++ b/C4/HoldsQueue.pm >@@ -277,7 +277,7 @@ sub GetPendingHoldRequestsForBib { > AND priority > 0 > AND reservedate <= CURRENT_DATE() > AND suspend = 0 "; >- $request_query .= "AND reserve_id NOT IN (SELECT reserve_id FROM tmp_holdsqueue " if $unallocated; >+ $request_query .= "AND reserve_id NOT IN (SELECT reserve_id FROM tmp_holdsqueue) " if $unallocated; > $request_query .= "ORDER BY priority"; > my $sth = $dbh->prepare($request_query); > $sth->execute($biblionumber); >diff --git a/misc/cronjobs/holds/build_holds_queue.pl b/misc/cronjobs/holds/build_holds_queue.pl >index 4c16eac189..06b02041e5 100755 >--- a/misc/cronjobs/holds/build_holds_queue.pl >+++ b/misc/cronjobs/holds/build_holds_queue.pl >@@ -62,6 +62,7 @@ This script builds or rebuilds the entire holds queue. > my $help = 0; > my $man = 0; > my $force = 0; >+my $unallocated = 0; > > my $command_line_options = join( " ", @ARGV ); > >-- >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 32565
:
147659
|
161231
|
161232
|
161393
|
161394
|
161679
|
161680
|
162269
|
162297
|
164272
|
164273
|
164274
|
165166
|
165167
|
165168
|
165169
|
165800
|
165801
|
165802
|
165803