Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2005:
[Freeciv-Dev] Re: (PR#12651) patch: better sorting in the city report
Home

[Freeciv-Dev] Re: (PR#12651) patch: better sorting in the city report

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: bh@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#12651) patch: better sorting in the city report
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 21 Apr 2005 20:11:18 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12651 >

Benoit Hudson wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=12651 >
> 
>>[bhudson - Fri Mar 25 20:22:06 2005]:
>>
>>Sorting in the city report is annoying for the multi-part fields; this
>>patch fixes that.  Now, strings (like the city name) are sorted as strings,
>>numbers (like gold, pollution, etc) are sorted as numbers, and
>>%d/%d/%d (like Surplus F/P/T) is sorted lexicographically as three numbers
>>rather than alphabetically, and so on.
> 
> 
> I've been playing with this for a bit now, and it makes things a bit more 
> pleasant.  Should I commit?

Seems reasonable.

-jason





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#12651) patch: better sorting in the city report, Jason Short <=