Bug 23255

Summary: HomeOrHoldingbranch system preference options are described wrong
Product: Koha Reporter: Nick Clemens <nick>
Component: CirculationAssignee: Nick Clemens <nick>
Status: CLOSED FIXED QA Contact: Josef Moravec <josef.moravec>
Severity: normal    
Priority: P5 - low CC: cgdavis, fridolin.somers, gmcharlt, josef.moravec, kyle.m.hall, lucas
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: String patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
19.11.00,19.05.03
Attachments: Bug 23255: Correct HomeOrHoldingBranch descriptions
Bug 23255: Correct HomeOrHoldingBranch descriptions
Bug 23255: Correct HomeOrHoldingBranch descriptions

Description Nick Clemens 2019-07-02 15:27:35 UTC
This preference is titled well, it determines whether to use the items homebranch or the items holdingbranch for determining circulation rules.

The descriptions, however, are wrong:
homebranch => 'the library the item is from'
holdingbranch => 'the library the item was checked out from'

This is not what happens.

To recreate:
1 - Set an all all rule for all libraries with a checkout period of 5 days
2 - Set an all all rule for library A with a checkout period of 7 days
3 - Sign in to Koha as Library B
4 - Set CircControl to "item's home library"
5 - Set HomeOrHoldingBranch to "the library the item was checked out from"
6 - Find an item with home and holding branch of library A
7 - Check this out to a patron
8 - The item will be a 7 day loan
9 - You would expect to use the rules of the library you checked out from "Library B"
Comment 1 Nick Clemens 2019-07-02 16:11:23 UTC
Created attachment 91189 [details] [review]
Bug 23255: Correct HomeOrHoldingBranch descriptions

To test:
1 - Apply patch
2 - View 'HomeOrHoldingBranch' system preference
3 - Confirm the options make sense
Comment 2 Claire Gravely 2019-07-03 13:30:18 UTC
Created attachment 91228 [details] [review]
Bug 23255: Correct HomeOrHoldingBranch descriptions

To test:
1 - Apply patch
2 - View 'HomeOrHoldingBranch' system preference
3 - Confirm the options make sense

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>
Comment 3 Josef Moravec 2019-07-03 21:07:42 UTC
Created attachment 91243 [details] [review]
Bug 23255: Correct HomeOrHoldingBranch descriptions

To test:
1 - Apply patch
2 - View 'HomeOrHoldingBranch' system preference
3 - Confirm the options make sense

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Comment 4 Martin Renvoize 2019-07-04 08:26:33 UTC
Nice work!

Pushed to master for 19.11.00
Comment 5 Fridolin Somers 2019-07-25 13:26:42 UTC
Pushed to 19.05.x for 19.05.03
Comment 6 Lucas Gass 2019-07-26 15:30:37 UTC
backported to 18.11.x for 18.11.09