[Freeciv-Dev] Re: (PR#7404) sorting in city dialog is wrong (current cvs
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] Re: (PR#7404) sorting in city dialog is wrong (current cvs) |
From: |
"Michael Ortmann" <eugene3@xxxxxx> |
Date: |
Wed, 25 Feb 2004 18:25:36 -0800 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=7404 >
On Wednesday 18 February 2004 16:46, Jason Short wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=7404 >
>
> > [eugene3@xxxxxx - Mon Feb 09 23:27:44 2004]:
> >
> > if i open the city dialog, showing all cities and what they are
> > producing right now...
> >
> > i click on sort after "current building"
> >
> > i think it tries to order for production-shields-already-done
> >
> > but i get the follwing order:
> >
> > 1
> > 10
> > 2
> > 20
> >
> > correct order should be 1, 2, 10, 20 of course...
> >
> > it doesnt sort _numbers_, it sorts strings rigth now...
>
> It does sort numbers (AFAIK), but only for numerical fields. The
> "Currently building" field contains both text and numbers and is sorted
> as text.
>
> What field are you looking at?
see attachment
the problem is, a whole column is treated as string or int...
but here we want sorting by string first (buildung type) and int as a
secondary sorting (production shields done)...
at least, this is what i want ;-)
Eugene
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] Re: (PR#7404) sorting in city dialog is wrong (current cvs),
Michael Ortmann <=
|
|