Bug 10382: Course reserves: handle empty values
authorAlex Arnaud <alex.arnaud@biblibre.com>
Wed, 21 Feb 2018 13:10:50 +0000 (13:10 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 15 Oct 2018 12:44:50 +0000 (12:44 +0000)
commit9c6025ccbfd0c57d45fec444ee57e72c3aad512b
tree938f8b3acb8811a1c078fed98ea94887fc6f18d7
parent3e6f9b8a1d5b293cfe5a00732e2b6f1371046855
Bug 10382: Course reserves: handle empty values

Test Plan:
1) Create an item, do not set a collection code
2) Add the item to a course, and choose to set a collection code
3) Ensure the course is enabled, and the collection code is now visible
4) Disable the course, ensure the collection code is no longer visible

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/CourseReserves.pm
t/db_dependent/CourseReserves/CourseItems.t