]> git.koha-community.org Git - koha.git/commit
Bug 35432: Simplay HoldsQueuePrioritize branch check
authorNick Clemens <nick@bywatersolutions.com>
Wed, 29 Nov 2023 14:50:41 +0000 (14:50 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 16 Apr 2024 15:59:49 +0000 (17:59 +0200)
commit707b655b6249d56e69c0d95de434a6eef173bf03
tree884d545282a9f1ff95db1ae7bc4336572a5ba331
parent0297cb8c175818aa9081e1a8e9682af9ad68ae78
Bug 35432: Simplay HoldsQueuePrioritize branch check

The code here is going to check items held the the pickup location for a request
or from the least cost branch matching the patron's home library against the HoldsQueuePrioritizeBranch
setting

The loop is the same in both case, so lets simplify this a bit to make the intent more clear

To test:
1 - prove -v t/db_dependent/HoldsQueue.t
2 - It should pass before and after this patch

Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
C4/HoldsQueue.pm