Bug 36712 - Alert "Maximum checkouts calculated from the circulation rule" is wrong with child itemtypes
Summary: Alert "Maximum checkouts calculated from the circulation rule" is wrong with ...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-26 23:56 UTC by Victor Grousset/tuxayo
Modified: 2024-04-26 23:56 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Grousset/tuxayo 2024-04-26 23:56:00 UTC
When trying to checkout an item with a child itemtype, it fails to say that the parent rule applied and says "All item types"

Test plan:
1. have an itype BK (Books in sample data)
2. create an itype BK2, set BK as the parent to BK2
3. create a circ rule for All Patrons, item type BK (displays as "Books (All)"
   in the circ rules interface), setting total checkouts to 1
4. do not create any rule specifically for the BK2 itype
5. have 2 BK2 items (can be on the same bib record)
6. Try to checkout the 2 items
7. The alert mention matched circ rule is for "Item type: All item types"
8. This is wrong