Bugzilla – Attachment 165081 Details for
Bug 35727
Unused code in HoldsQueue::MapItemsToHoldRequests
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35727 Remove unused code in HoldsQueue::MapItemsToHoldRequests
Bug-35727-Remove-unused-code-in-HoldsQueueMapItems.patch (text/plain), 1.18 KB, created by
Marcel de Rooy
on 2024-04-18 12:00:50 UTC
(
hide
)
Description:
Bug 35727 Remove unused code in HoldsQueue::MapItemsToHoldRequests
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2024-04-18 12:00:50 UTC
Size:
1.18 KB
patch
obsolete
>From de7a7c87c0f3d20f2407ff2353d07c9ccbbb4f15 Mon Sep 17 00:00:00 2001 >From: Andreas Jonsson <andreas.jonsson@kreablo.se> >Date: Mon, 8 Jan 2024 17:57:20 +0100 >Subject: [PATCH] Bug 35727 Remove unused code in > HoldsQueue::MapItemsToHoldRequests >Content-Type: text/plain; charset=utf-8 > >Test plan: > >prove t/db_dependent/HoldsQueue.t > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > C4/HoldsQueue.pm | 5 ----- > 1 file changed, 5 deletions(-) > >diff --git a/C4/HoldsQueue.pm b/C4/HoldsQueue.pm >index 957d40b991..3317616f51 100644 >--- a/C4/HoldsQueue.pm >+++ b/C4/HoldsQueue.pm >@@ -424,11 +424,6 @@ sub MapItemsToHoldRequests { > return unless scalar(@$hold_requests) > 0; > return unless scalar(@$available_items) > 0; > >- # identify item-level requests >- my %specific_items_requested = map { $_->{itemnumber} => 1 } >- grep { defined($_->{itemnumber}) } >- @$hold_requests; >- > map { $_->{_object} = Koha::Items->find( $_->{itemnumber} ) } @$available_items; > my $libraries = {}; > map { $libraries->{$_->id} = $_ } Koha::Libraries->search->as_list; >-- >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 35727
:
160652
|
160664
| 165081