https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42483

Andrew Fuerste-Henry <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |RESOLVED
         Resolution|---                         |INVALID

--- Comment #6 from Andrew Fuerste-Henry <[email protected]> ---
Looking back at this code, my understanding was incorrect and my rewording of
the syspref is wrong, but the code itself is odd.
https://github.com/Koha-Community/Koha/blob/e9826904564721563eef4957c1fe918e8f36ef4f/C4/HoldsQueue.pm#L940

In HoldsQueue.pm, the HoldsQueuePrioritizeBranch check starts by getting the
hold pickup branch (or patron branch is the hold doesn't have a pickup location
defined, but that really should not happen). Koha then gets all of the items on
the held biblio *that are at the pickup branch* and compares them to the
patron's branch based on the HoldsQueuePrioritizeBranch value.

If HoldsQueuePrioritizeBranch=item homebranch: the queue will prioritize items
already at the hold pickup branch that have a homebranch matching the patron's
branch. This maybe increases the likelihood that the item will get returned to
its homebranch after checkout and thereby avoids a transfer? 

If HoldsQueuePrioritizeBranch=item holdingbranch: the queue will prioritize
items already at the hold pickup branch that have a holdingbranch matching the
patron's branch. This check doesn't accomplish much: 
- If the pickup branch matches the patron's branch, then every item at the
pickup branch has a holdingbranch that matches the patron's branch.
- If the pickup branch does not match the patron's branch, then no item at the
pickup branch has a holdingbranch that matches the patron's branch.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to