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

            Bug ID: 41131
           Summary: Branch Transfer Limits basic editor allows one to
                    prevent transfers from a library to itself and block
                    related holds
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Circulation
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

The branch transfer limits basic editor will always indicate that transfers
from a branch to itself are allowed -- when the page loads, it always puts a
checkmark under "Allow transfer" for the branch for which one is defining
limits. But this checkmark is not reflected in the database.

To recreate:
- disable AllowHoldPolicyOverride
- set UseBranchTransferLimits to Enforce; set BranchTransferLimitsType to
itemtype (the also exists when enforcing by collection code, but its impact on
holds is easier to see with itemtypes)
- go to the branch transfer limits page, see that Allow Transfers is checked
for all branches and all itemtypes
- in a report, SELECT * FROM branch_transfer_limits, confirm no results -- we
put a row in this table for every transfer that's blocked
- back on the branch transfer limits, uncheck "Allow transfer" for Books going
from Centerville to Centerville, click Save
- On save, the page reloads and shows a checkmark under "Allow transfer" for
Books going from Centerville to Centerville
- back in reports, run your query again, see there is a row in
branch_transfer_limits to block the transfer of Books from Centerville to
Centerville
- Attempt to place a hold on an item currently at Centerville for pickup at
Centerville, confirm Koha will not allow this hold

This cannot be recreated in the advanced editor.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to