[Koha-bugs] [Bug 8137] Checkout limit for all libraries

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 23 10:18:28 CET 2024


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

Thibaud Guillot <thibaud.guillot at biblibre.com> changed:

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

--- Comment #104 from Thibaud Guillot <thibaud.guillot at biblibre.com> ---
Created attachment 162367
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162367&action=edit
Bug 8137: Add 'global' has_priority rules for checkouts

I tried to review the desired behavior through this bug.
The goal would be to be able to have a general 'override' rule.
Currently, if you set a max_checkouts_allowed of 5 (regardless of itemtype) in
one library, for example, and do the same in another, it adds up to 10.

By giving checkout rules priority, you "overwrite" other local rules per
branchcode.

Test plan:

1) Set for library "A"  a max_checkouts_allowed to 3 for any type of user
   and item type.
2) On main rules set the same rule to 2
3) Do a few checkouts with a user belonging to library A, normally you'll be
able to do 3.
4) Apply this patch and run updatedatabase.pl and also rebuild your
   schema by updating dbix class files
5) See now the Has priority checkboxes on "Default checkout, hold and return
policy" and "Default checkout, hold policy by patron category"
6) You can set here you new rule for "Total current checkouts allowed"
   to 2
7) Repeat step 3 and normally you won't be able to make the third

Sponsored-by: BibLibre

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list