Bug 18247: Remove SQL queries from branch_transfer_limit.pl
authorAlex Buckley <alexbuckley@catalyst.net.nz>
Mon, 8 Aug 2022 23:59:20 +0000 (23:59 +0000)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Tue, 31 Jan 2023 14:25:51 +0000 (14:25 +0000)
commitb57ce0e15b6cae5933c3836697be9ec5a607f14d
tree5d668d4041e05f58154762b185568268fdecab7c
parentab0a00dcb90f07b6b115a76b916553eeabb9ee71
Bug 18247: Remove SQL queries from branch_transfer_limit.pl

1. Visit Administration > Patrons and circulation > Limit transfer limits

2. Observe collection codes are displayed as tabs on the Limit transfer
limits page when the BranchTransferLimitsType syspref = 'Collection
code'

3. Switch the BranchTransferLimitsType syspref = 'item type'. Refresh
the Limit transfer limits page and observe the tabs have changed to item
type codes

4. Apply patchset and restart services

5. Reload the Limit transfer limits page and confirm it displays
correctly with the  BranchTransferLimitsType = 'collection code' and
'item type'

6. Confirm you can successfully save transfer policies

Sponsored-by: Catalyst IT
Signed-off-by: Jacob Omara <jacob.omara@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 5e863f93c06e1e67ddbf0c705657ca7d024006f6)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
admin/branch_transfer_limits.pl