]> 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)
committerFrédéric Demians <f.demians@tamil.fr>
Tue, 15 Mar 2016 08:38:05 +0000 (09:38 +0100)
commit7f787efafa1916da648d459ed6f6f2765264322e
tree4b48e368492fa45aa7d1edfd74a5b937f262c006
parent74b4011eb8954d27d9c7dedf17d2f822f6c86cf1
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>
(cherry picked from commit f232ce8bdc54f9b2e244da2290888ac2454cee8b)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt