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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 11 14:05:29 CET 2023


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #152040|0                           |1
        is obsolete|                            |
 Attachment #156318|0                           |1
        is obsolete|                            |
 Attachment #156319|0                           |1
        is obsolete|                            |
 Attachment #156320|0                           |1
        is obsolete|                            |
 Attachment #156321|0                           |1
        is obsolete|                            |
 Attachment #156322|0                           |1
        is obsolete|                            |

--- Comment #101 from Thibaud Guillot <thibaud.guillot at biblibre.com> ---
Created attachment 159712
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159712&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

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


More information about the Koha-bugs mailing list