Bugzilla – Attachment 160652 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.03 KB, created by
Andreas Jonsson
on 2024-01-08 17:00:58 UTC
(
hide
)
Description:
Bug 35727 Remove unused code in HoldsQueue::MapItemsToHoldRequests
Filename:
MIME Type:
Creator:
Andreas Jonsson
Created:
2024-01-08 17:00:58 UTC
Size:
1.03 KB
patch
obsolete
>From 26e78451c9b60c783ca6d91cafee4c6231f13c5a 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 > >Test plan: > >prove t/db_dependent/HoldsQueue.t >--- > C4/HoldsQueue.pm | 5 ----- > 1 file changed, 5 deletions(-) > >diff --git a/C4/HoldsQueue.pm b/C4/HoldsQueue.pm >index 5e555f4f95..464952a4b4 100644 >--- a/C4/HoldsQueue.pm >+++ b/C4/HoldsQueue.pm >@@ -406,11 +406,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.39.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