]> git.evergreen-ils.org Git - working/Evergreen.git/commit - Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm
LP#2023338: Correct BHSSO selection_depth sort
authorMike Rylander <mrylander@gmail.com>
Thu, 8 Jun 2023 22:39:08 +0000 (18:39 -0400)
committerTerran McCanna <tmccanna@georgialibraries.org>
Mon, 20 Nov 2023 18:56:28 +0000 (13:56 -0500)
commita4357f4de26ad642438a62f6c68fbb15bc6ea033
treea20ff0cc9e27701acd4be6fcddeec795d4742025
parent8485a5a0a6b28fdc468613d7a4c928900e5982bd
LP#2023338: Correct BHSSO selection_depth sort

Before customizable Best Hold Selection Sort Order was implemented, the
non-FIFO hold order considered more-constrained holds before
less-constrained ones on the assumption that there would be more copies
available to less-constrained ones.  That ordering didn't make it into
the BHSSO implementation, so this commit corrects that by sorting this
part in descending selection depth order rather than the default
ascending.

This is not relevant in most cases, but when soft hold boundaries are
used, and during the transition from a non-resource-sharing to a
resource-sharing enviroment, it can have an effect if "depth" is
selected as a BHSSO component.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm