Bug 10382: Course reserves: handle empty values
authorAlex Arnaud <alex.arnaud@biblibre.com>
Wed, 21 Feb 2018 13:10:50 +0000 (13:10 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 16 Oct 2018 13:04:14 +0000 (14:04 +0100)
commite9c0c2263057d7e72013d8a62438803733d2a67f
treee8d3351f585935fc9c740879a5c83e1d702a2397
parent84bf7c9468a1be39de54a488f41e5c579be86072
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>
(cherry picked from commit 9c6025ccbfd0c57d45fec444ee57e72c3aad512b)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/CourseReserves.pm
t/db_dependent/CourseReserves/CourseItems.t