Bug 19001

Summary: Different rules for the same itemtype in the same branch and for the same category code
Product: Koha Reporter: Vitor Fernandes <vfernandes>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, kyle.m.hall, vfernandes
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 18886    
Bug Blocks:    

Description Vitor Fernandes 2017-07-28 14:23:16 UTC
2 items with the same type but different loan status status - one available for loan, another for short term loan

The 2 items could be requested with different times for the same person on his home branch (same patron category, same branch code):

- the item available could be loaned for 2 weeks
- the item in the deposit could be loaned for 2 days

As the items have the same item type can not be differentiated in the issuing rules.
Comment 1 Vitor Fernandes 2017-07-28 14:28:09 UTC
One idea is add another control column for the issuing rule: loan_status (or something like that).

After that one issuing rule can be set/controlled by 4 codes:

- branchcode
- categorycode
- itemtype
- loan_status

Possible value for that column:

- Short term loan
- Long term loan