Re: [greenstone-users] Re: Alphabetizing problem

From John R. McPherson
DateFri, 31 Dec 2004 19:54:52 +1300
Subject Re: [greenstone-users] Re: Alphabetizing problem
In-Reply-To (f06200700bdfa2ec2de46-172-16-1-51)
On Thu, Dec 30, 2004 at 02:18:49PM -0800, Rich Robinson wrote:
> Hi,
> When I display my list of Authors A-Z, everything in the format "Last
> Name, First Name" with a comma in the middle, are properly
> alphabetized. Anything without the comma such as an organizational
> name is out of sequence, almost randomly. At least that's the only
> difference I am seeing between items that sort properly and those
> that don't. Where should I look to correct this, would there be
> something in the formatting statement for that particular vlist (I
> think it's a vlist)?

This is done at build time, by the classifiers in $gsdl/perllib/classify/.
If the language of a document was set to English, and the metadata
is one that is expected to contain names, such as "Creator" metadata,
then it will assume that a comma implies 'Surname, Firstname'.
Look in (format_metadata_for_sorting()) and perllib/
(format_string_english() and format_string_name_english()).

John McPherson