[Koha-patches] [PATCH] Bug 5172 - prefer 'other name' over 'first name' if available.

Paul Poulain paul.poulain at biblibre.com
Tue Dec 14 08:51:11 CET 2010


Le 13/12/2010 23:53, Robin Sheat a écrit :
> In all the places that the user is referred to by name in the OPAC, the
> 'other name' field is now used instead of the first name, if an 'other
> name' has been defined.
> +    # For the purposes of making templates easier, we'll define a
> +    # 'showname' which is the alternate form the user's first name if 
> +    # 'other name' is defined.
> +    $borrower->{'showname'} = $borrower->{'othernames'} || $borrower->{'firstname'};
mmm... unles i'm missing something, I (and probably all french
libraries) strongly disagree with this.

for us, the "surname" is the daily used name. The "othernames" is used
for the wife birth-name.
For example, my wife is born "Sandrine Charlot", and is now called
"Sandrine Poulain", resulting in :
Surname = Poulain
1stname = Sandrine
othername = Charlot

The name to display is undoubtfully the "surname". But searches can be
done on surname and othernames, it's usefull for woman just getting
married or divorced, to find them anyway.

Robin, any explanation about the idea behind your patch ?

-- 
Paul POULAIN
http://www.biblibre.com
Expert en Logiciels Libres pour l'info-doc
Tel : (33) 4 91 81 35 08



More information about the Koha-patches mailing list