]> git.koha-community.org Git - koha.git/commit
Bug 16651: Notes field blank for 952$z in opac-course-details.pl
authorNick Clemens <nick@bywatersolutions.com>
Mon, 6 Jun 2016 15:28:39 +0000 (11:28 -0400)
committerJulian Maurice <julian.maurice@biblibre.com>
Tue, 16 Aug 2016 13:31:14 +0000 (15:31 +0200)
commit3cd210a13eee03092b3975f42fd13773a2291fa6
treee44a621824aec2bf764b5754f58df171976e9b42
parentb4673a9da0228a1ed558dc3047f588947ece46d4
Bug 16651: Notes field blank for 952$z in opac-course-details.pl

This patch changes course reserves to check for item notes form the
course reserve and fallback to itemlevel notes if they are empty

To test:
1 - Enabvle course reserves
2 - Add some items
3 - Make sure the items have notes at the item level and not at course
reserves
4 - Notes don't display in staff or opac
5 - Apply patch
6 - Notes display in staff and opac
7 - Add notes at course reserves level
8 - These override the item level notes

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as advertised

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 62508428cdf3a4c3da975ef5f88c8ece9cf50537)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit d09b015e973c799cc392327484f3cc485a60ece2)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt