Bug 20282

Summary: Wrong attribute in template calls to match holding branch when adding/editing a course reserve item
Product: Koha Reporter: Nick Clemens <nick>
Component: Course reservesAssignee: Nick Clemens <nick>
Status: CLOSED FIXED QA Contact: Josef Moravec <josef.moravec>
Severity: normal    
Priority: P5 - low CC: fridolin.somers, jonathan.druart, josef.moravec, katrin.fischer, maksim.sen
Version: master   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 15758    
Bug Blocks:    
Attachments: Bug 20282: Match course reserve on holdingbranch
Bug 20282: Match course reserve on holdingbranch
Bug 20282: Match course reserve on holdingbranch

Description Nick Clemens 2018-02-23 10:58:22 UTC
To recreate:
1 - Add a course
2 - Add an item to the course - change the holding library
3 - Edit the item, note the holding branch dropdown appears as 'unchanged'
Comment 1 Nick Clemens 2018-02-23 11:01:28 UTC
Created attachment 72112 [details] [review]
Bug 20282: Match course reserve on holdingbranch

To test:
1 - Add a course (Course Reserves)
2 - Add an item to the course
3 - Ensure to change the holding branch for the course reserve
4 - Modify the course item
5 - Note the dropdwn for holding branch is unset
6 - Apply patch
7 - Modify the course item
8 - Dropdown should be correctly populated
Comment 2 Maksim Sen 2018-03-09 20:16:56 UTC
Created attachment 72620 [details] [review]
Bug 20282: Match course reserve on holdingbranch

To test:
1 - Add a course (Course Reserves)
2 - Add an item to the course
3 - Ensure to change the holding branch for the course reserve
4 - Modify the course item
5 - Note the dropdwn for holding branch is unset
6 - Apply patch
7 - Modify the course item
8 - Dropdown should be correctly populated

Signed-off-by: Maksim Sen <maksim.sen@inlibro.com>
Comment 3 Josef Moravec 2018-03-29 10:54:51 UTC
Created attachment 73416 [details] [review]
Bug 20282: Match course reserve on holdingbranch

To test:
1 - Add a course (Course Reserves)
2 - Add an item to the course
3 - Ensure to change the holding branch for the course reserve
4 - Modify the course item
5 - Note the dropdwn for holding branch is unset
6 - Apply patch
7 - Modify the course item
8 - Dropdown should be correctly populated

Signed-off-by: Maksim Sen <maksim.sen@inlibro.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Comment 4 Jonathan Druart 2018-04-02 19:49:48 UTC
Caused by
  commit 9b9803b69c8bde879768ccfa3cc4688ef46b7799
  Bug 15758: Koha::Libraries - Remove GetBranchesLoop
Comment 5 Jonathan Druart 2018-04-02 21:15:08 UTC
Pushed to master for 18.05, thanks to everybody involved!
Comment 6 Nick Clemens 2018-05-14 21:22:32 UTC
Pushed to stable for 17.11.06

Awesome work all!
Comment 7 Fridolin Somers 2018-05-22 10:03:32 UTC
Pushed to 17.05.x for v17.05.12