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

Emily Lamancusa (emlam) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #185565|0                           |1
        is obsolete|                            |

--- Comment #48 from Emily Lamancusa (emlam) 
<[email protected]> ---
Created attachment 187566
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187566&action=edit
Bug 21572: Dbrev - multi-selection for AllowItemsOnHoldCheckout sysprefs

Update AllowItemsOnHoldCheckoutSIP and AllowItemsOnHoldCheckoutSCO to
allow multiple selection, so that libraries can specify whether patrons
should be allowed to check out items with found holds granularly
according to hold status.

The existing behavior for AllowItemsOnHoldCheckoutSIP is:
Allow       - allow items with pending holds  (but no other hold status)
              to be checked out
Don't allow - don't allow items to be checked out if any hold status is
              found (including pending/unassigned holds)

The existing behavior for AllowItemsOnHoldCheckoutSCO is:
Allow       - allow items with holds in any status to be checked out
Don't allow - don't allow items to be checked out if any hold status is
              found (including pending/unassigned holds)

This patch retains existing behavior while giving libraries the
opportunity to further customize which types of checkouts should be
allowed in each case. This also resolves the behavior inconsistency
between the SCO module and SIP-based self-checkouts.

To test:
1. Before applying patch, go to Administration module and search for
   "AllowItemsOnHoldCheckout" in the system preference search
2. Set both preferences to Allow
3. Apply patch and updatedatabase
4. Search for "AllowItemsOnHoldCheckout" in the system preference search
   again (to reload the page without resubmitting)
--> Confirm that both preferences now allow multiple selection
--> Confirm that the system preferences have the following settings, to
   retain existing behavior:
   AllowItemsOnHoldCheckoutSIP - only Pending is checked
   AllowItemsOnHoldCheckoutSCO - all hold statuses are checked

Bonus testing:
Make some changes to the settings and run updatedatabase again. Confirm
that your settings persist after the database update.

-- 
You are receiving this mail because:
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