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)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Wed, 24 Feb 2016 01:58:52 +0000 (01:58 +0000)
commit4dba088549d1add43cfd575ebdd3d21689c4a700
treed4dd95476397e176d0aa360e765124e4883da528
parenta84264c92f4c34607fba09f109610e40611078a9
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
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt