Bug 22970: Allow to change homebranch in batch add course reserves
commit0ef02cea4a2a2b247127a6b02352f84f9e9b3ea9
authorJulian Maurice <julian.maurice@biblibre.com>
Fri, 24 May 2019 06:51:58 +0000 (24 08:51 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 12 May 2020 10:40:54 +0000 (12 11:40 +0100)
treecaad59769e51fadb7e4efb3a6b093000941c4aff
parent8771232293cf6e9a1aed77b5e8f9dbaceb8590a2
Bug 22970: Allow to change homebranch in batch add course reserves

Test plan:
1. Create a course (disabled)
2. Add multiple reserves to this course using 'batch add' and set
   a homebranch different from the items homebranch
3. Enable the course
4. Verify that the items homebranch have changed
5. Disable the course
6. Verify that the items homebranch were reset to their initial value

Depends on bug 22630

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
course_reserves/batch_add_items.pl
koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt