Koha/C4
Kyle M Hall b17a04dd07 Bug 25786: Holds Queue building may target the wrong item for item level requests that match holds queue priority
Bug 23934 removed the limitation that prevented item level holds from
getting local holds priority. The problem is the code has never checked
if the item level hold matches the given item! This means the wrong item
may be requested to fill an item level hold.

Test Plan:
1) Create 3 items on a record
2) Place a hold for the 2nd item you created
4) Ensure that hold would be picked up by local holds priority
5) Build the holds queue
6) Note the holds queue is asking for the wrong item!
7) Apply this patch
8) Rebuild the holds queue
9) Holds queue should now be asking for the correct item!

Signed-off-by: Kim Peine <kim@williston.lib.vt.us>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-06-18 18:51:58 +02:00
..
AuthoritiesMarc
Barcodes
ClassSortRoutine
ClassSplitRoutine
Creators
External
Form
Heading
ILSDI Bug 24769: (bug 14711 follow-up) Fix typo in parameter name for AddReserve 2020-05-05 11:03:33 +01:00
Installer
Labels Bug 23514: Split Call Numbers for all layout types 2020-04-14 07:59:11 +01:00
Linker
Members Bug 20443: Remove extended_attributes_code_value_arrayref AND C4::Members::Attributes 2020-03-23 13:49:22 +00:00
OAI
Output
Patroncards
Reports Bug 22001: execute reports in an eval 2020-03-31 17:48:14 +01:00
Search
Serials
SIP Bug 23403: Catch other cases of ->{patron} 2020-05-15 09:48:35 +01:00
Utils Bug 25142: Fix wrong grep logical test 2020-04-27 10:44:49 +01:00
Accounts.pm
Acquisition.pm Bug 24161: Remove GetLateOrders 2020-05-04 09:44:44 +01:00
Auth.pm Bug 23794: Convert OpacMainUserBlock system preference to news block 2020-05-01 08:17:23 +01:00
Auth_cas_servers.yaml.sample
Auth_with_cas.pm
Auth_with_ldap.pm Bug 20443: Use search_with_library_limits for attribute types 2020-03-23 13:49:22 +00:00
Auth_with_shibboleth.pm
AuthoritiesMarc.pm Bug 22437: (follow-up) Move deletion of merge requests to DelAuthority 2020-05-12 11:02:05 +01:00
BackgroundJob.pm
Barcodes.pm
Biblio.pm Bug 21901: Add FK on subscription and serial tables 2020-04-17 09:39:00 +01:00
Boolean.pm
Breeding.pm Bug 24052: Rename XSLT_Handler 2020-03-24 10:42:23 +00:00
Budgets.pm
Calendar.pm Bug 19475: Don't copy holiday if it already exists in target calendar 2020-04-03 14:26:33 +01:00
Charset.pm
Circulation.pm Bug 24413: Do not remove the restrictions from AddReturn 2020-05-22 09:33:17 +01:00
ClassSortRoutine.pm Bug 16011: $VERSION - Remove comments 2016-03-24 17:20:29 +00:00
ClassSource.pm
ClassSplitRoutine.pm
Context.pm Bug 25131: Add C4::Context->needs_install 2020-04-16 19:20:57 +01:00
Contract.pm
CourseReserves.pm Bug 25444: More minor improvements to simplified loop 2020-05-28 17:01:55 +02:00
Creators.pm
Debug.pm
Heading.pm
HoldsQueue.pm Bug 25786: Holds Queue building may target the wrong item for item level requests that match holds queue priority 2020-06-18 18:51:58 +02:00
HTML5Media.pm Bug 20783: Use iframe to embed Youtube videos 2020-06-15 10:32:43 +02:00
Images.pm
ImportBatch.pm Bug 25527: Initialize the logger when required 2020-05-18 15:24:47 +01:00
ImportExportFramework.pm
InstallAuth.pm Bug 4461: Adding user flags for managing OPAC problem reports 2020-04-06 11:18:13 +01:00
Installer.pm Bug 24883: Add POD entry and remove unused variable 2020-03-27 12:11:32 +00:00
ItemCirculationAlertPreference.pm
Items.pm Bug 23081: Revert "Bug 24443: Consider NULL as 0 for issues in items search" 2020-04-27 11:32:56 +01:00
Koha.pm
Labels.pm
Languages.pm Bug 20116: Cache language list 2020-04-17 09:24:23 +01:00
Letters.pm Bug 24612: Use the reserve_id to identify a reserve when building a notice 2020-05-22 09:33:17 +01:00
Linker.pm
Log.pm Bug 21190: Add interfaces parameter to POD in C4::Logs 2020-04-14 16:13:38 +01:00
MarcModificationTemplates.pm Bug 24840: Replace DateTime->now with dt_from_string 2020-04-08 11:54:23 +01:00
Matcher.pm
Members.pm
Message.pm
NewsChannels.pm
Output.pm
Overdues.pm Bug 25127: Use Koha::Number::Price->round for comparison 2020-05-01 15:44:55 +01:00
Patroncards.pm
Record.pm Bug 24052: Rename XSLT_Handler 2020-03-24 10:42:23 +00:00
Reports.pm
Reserves.pm Bug 24612: Make hold-transfer-slip take reserve_id 2020-05-22 09:33:16 +01:00
Ris.pm
RotatingCollections.pm
Scheduler.pm
Scrubber.pm
Search.pm Bug 25701: Remove sort on removed field 2020-06-15 10:29:53 +02:00
Serials.pm Bug 21901: Add FK on subscription and serial tables 2020-04-17 09:39:00 +01:00
Service.pm
ShelfBrowser.pm
SMS.pm
SocialData.pm
Stats.pm
Suggestions.pm Bug 22784: Add the ability to archive/unarchive a purchase suggestions 2020-04-14 16:19:02 +01:00
Tags.pm
Templates.pm
TmplToken.pm
TmplTokenType.pm
TTParser.pm Bug 25305: Translation process - Open all files specifying the utf8 encoding 2020-05-04 08:50:07 +01:00
UsageStats.pm Bug 25147: (RM follow-up) Update pref references. 2020-04-17 09:03:47 +01:00
XISBN.pm
XSLT.pm Bug 24052: Rename XSLT_Handler 2020-03-24 10:42:23 +00:00