[Koha-bugs] [Bug 15699] Course reserves instructors should be in form "Surname, Firstname" for sorting purposes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 29 08:03:49 CET 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15699

Marc Véron <veron at veron.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #47416|0                           |1
        is obsolete|                            |

--- Comment #2 from Marc Véron <veron at veron.ch> ---
Created attachment 47423
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47423&action=edit
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 at veron.ch>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list