[Koha-bugs] [Bug 15699] Opac: 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
Tue Feb 2 11:51:05 CET 2016


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #47423|0                           |1
        is obsolete|                            |
  Attachment #47513|0                           |1
        is obsolete|                            |

--- Comment #11 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 47545
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47545&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>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

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


More information about the Koha-bugs mailing list