Bugzilla – Attachment 166065 Details for
Bug 30581
Items should show on the Holds Queue and Holds to Pull even if they have requested transfers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30581: Exclude unsent transfers from HoldsQueue
Bug-30581-Exclude-unsent-transfers-from-HoldsQueue.patch (text/plain), 1.05 KB, created by
Martin Renvoize (ashimema)
on 2024-05-02 11:56:44 UTC
(
hide
)
Description:
Bug 30581: Exclude unsent transfers from HoldsQueue
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-05-02 11:56:44 UTC
Size:
1.05 KB
patch
obsolete
>From 8b9a7098cd5bebc28e49657530f9112cf95bd631 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 2 May 2024 12:55:11 +0100 >Subject: [PATCH] Bug 30581: Exclude unsent transfers from HoldsQueue > >This adds an exclusion to remove requested but not yet sent transfers >from the filter when using the Holds Queue >--- > Koha/Holds.pm | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/Koha/Holds.pm b/Koha/Holds.pm >index d4e0b5cdc66..5a575004035 100644 >--- a/Koha/Holds.pm >+++ b/Koha/Holds.pm >@@ -148,7 +148,9 @@ sub get_items_that_can_fill { > push @bibs_or_items, 'me.itemnumber' => { in => \@itemnumbers } if @itemnumbers; > push @bibs_or_items, 'me.biblionumber' => { in => \@biblionumbers } if @biblionumbers; > >- my @branchtransfers = Koha::Item::Transfers->filter_by_current->search({}, { >+ my @branchtransfers = Koha::Item::Transfers->filter_by_current->search( >+ { datesent => { '!=' => undef } }, >+ { > columns => ['itemnumber'], > collapse => 1, > } >-- >2.44.0
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 30581
:
166064
| 166065