Bug 18264 - Course reserves - use itemnumber for editing existing reserve items
authorNick Clemens <nick@bywatersolutions.com>
Tue, 14 Mar 2017 14:16:09 +0000 (14:16 +0000)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Wed, 22 Mar 2017 19:04:43 +0000 (19:04 +0000)
commit2ead301181c33f42d3c88abffa8d18b8a416b40a
tree2d786985014a92f2e52b585697fa66686f52c6bf
parenteb5151b0a89758d6da83eccfa08b5239f20d4ea2
Bug 18264 - Course reserves - use itemnumber for editing existing reserve items

This patch alters the crouse reserves module to use itemnumber as the
lookup method for existing reserves as opposed to barcode

To test:
1 - Apply patch
2 - Add some items to a course reserves - all should work as expected
3 - Delete the barcode for an item on reserve
4 - Note the edit link still resolves to the correct item

Followed test plan, works as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
course_reserves/add_items.pl
koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt