Koha/circ
Shi Yao Wang 87e589d79f
Bug 31105: Holds to pull counts items from other branches when independentbranches is active
Holds to pull should not show items from other branches that shares a
record when IndependentBranches is active. Except for superlibrarians.

Test plan:
1- Have IndependentBranches set to Yes
2- Have a record with an item from the current branch and another item from a different branch. We will call them branch A and branch B respectively
3- Have a patron from branch A place a hold on that record
4- Have a staff account on branch A and B with the following permissions:
    - circulate (all)
    - catalogue
5- Go to circulation > holds to pull
6- Notice under "Libraries" it displays branch A and B. Also, it shows 2 under "Items available"
7- Checkout the item from branch A to another patron
8- Go back to circulation > holds to pull
9- Notice under "Libraries" it displays branch B even though we are in branch A
10- Apply the patch
11- Return the checked out item from step 7
12- Redo step 5 to 9 with superlibrarian privileges and notice nothing changed
13- Redo step 11-12 but using accounts from step 4 and notice Holds to
pull only shows information relevant to their branch

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-09-23 09:44:18 -03:00
..
add_message.pl
article-request-slip.pl
article-requests.pl
bookcount.pl
branchoverdues.pl Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
branchtransfers.pl
checkout-notes.pl
circulation-home.pl
circulation.pl Bug 23681: Move to ::Patron::Restriction::Type(s) 2022-08-25 08:50:35 -03:00
curbside_pickups.pl
del_message.pl
hold-transfer-slip.pl
offline-mf.pl
offline.pl
on-site_checkouts.pl
overdue.pl Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
pendingreserves.pl Bug 31105: Holds to pull counts items from other branches when independentbranches is active 2022-09-23 09:44:18 -03:00
renew.pl Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
request-article.pl
reserveratios.pl Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
returns.pl Bug 30802: (QA follow-up) Simplify a ternary 2022-09-23 09:17:13 -03:00
set-library.pl Bug 28167: Remove uninitialized variable warnings from circ/set-library.pl 2022-09-22 08:09:34 -03:00
transfer-slip.pl
transfers_to_send.pl
transferstoreceive.pl Bug 24295: Remove GetTransfers from circ/transferstoreceive.pl 2022-08-26 15:42:52 -03:00
view_holdsqueue.pl
waitingreserves.pl Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00