Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2001:
[Freeciv-Dev] [Patch] Gold Sort order (12 < 2)? (PR#949)
Home

[Freeciv-Dev] [Patch] Gold Sort order (12 < 2)? (PR#949)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: flyguy@xxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] [Patch] Gold Sort order (12 < 2)? (PR#949)
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 10 Sep 2001 20:40:22 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Sun, Sep 09, 2001 at 06:09:49PM -0700, flyguy@xxxxxxxx wrote:
> Full_Name: IH
> Version: 1.1.12
> Distribution: Mandrake binary
> Client: Both (or N/A)
> OS: Linux Mandrake 8.1
> Submission from: (NULL) (64.180.60.36)
> 
> 
> When you get a report on cities and then you look at the gold usage and try 
> and
> sort, it appears in this order
> 
> Gold
> -1
> -11
> -12
> -2
> -3
> -4
> 
> 
> Should be
> 
> Gold
> -1
> -2
> -3
> -4
> -11
> -12

Known problem. The attached patch should fix this. The sorting is also
improved: 
 - 1st click on the Economy column: gold ascending
 - 2nd click: gold descending
 - 3rd click: luxury ascending
 - 4th click: luxury descending
 - 5th click: science ascending
 - 6th click: science descending
 - 7th click: gold ascending

You get the idea. This also works with any other column. Fields are
separated by / or (.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Many of my assistants were fans of Tolkien, who wrote 'Lord of the Rings'
  and a number of other children's stories for adults.  The first character
  alphabet that was programmed for my plotter was Elvish rather than Latin."
    -- from SAIs "life as a computer for a quarter of a century"

Attachment: city_sorting1.diff
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]