]> git.koha-community.org Git - koha.git/commit
Bug 15699 - Course reserves instructors should be in form "Surname, Firstname" for...
authorNick Clemens <nick@bywatersolutions.com>
Thu, 28 Jan 2016 21:58:37 +0000 (21:58 +0000)
committerJulian Maurice <julian.maurice@biblibre.com>
Mon, 7 Mar 2016 11:01:34 +0000 (12:01 +0100)
commitf232ce8bdc54f9b2e244da2290888ac2454cee8b
tree2c449e795bf98b0a9c7118709c21fb90a2c42b91
parent1f5305d264eb8df62c93f16f4462ebe63640c568
Bug 15699 - Course reserves instructors should be in form "Surname, Firstname" for sorting purposes

This patch changes the order of the name fields and adds a span class around
each in case of library wanting to customize further

To test:
1 - Enable course reserves
2 - Add some courses with instrcutors
3 - Note they are of form "Firstname Surname"
4 - Apply patch
5 - Note the change
6 - Note span tags
7 - Note you can hide firstname by adding to intranet user js: $(".instr_firstname, instr_separator").hide();

Sing-off note: This patch displays the names as advertised on cgi-bin/koha/opac-course-reserves.pl Sorting
the names would need some more actions but seems not to be intended by this patch.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
(cherry picked from commit 4dba088549d1add43cfd575ebdd3d21689c4a700)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt