]> 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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 24 Jun 2016 13:57:33 +0000 (13:57 +0000)
commit62508428cdf3a4c3da975ef5f88c8ece9cf50537
tree46892c9fc57f055e47207dbab8d445ad3f0d6260
parent458ce34a1dbfff9a5c5a696560ffdc5b8afa041a
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>
koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt