[Freeciv-Dev] Re: (PR#13238) Sorting in players dialog
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13238 >
On Wed, Jun 08, 2005 at 09:45:00AM -0700, Jason Short wrote:
> > Currently all columns in the players dialog are ordered by the text
> > value of them. This looks stupid in the score or in the attitude column.
> >
> > The attached patch adds a possibility of defining ordering method for
> > each column in the players dialog.
> >
> > It defines also functions for Ai's love and the score columns.
>
> Perhaps the citydlg sorting function could be used here?
Presumably you mean cityrep ? That only sorts alphabetically; presumably
we'd want to have the sort order be non-alphabetic for some things, like:
alliance < peace < cease-fire < war
It would be a good idea to use cityrep_sort_func for everything by default,
I agree, but I like this per-column sort function so that we can do
non-alphanumeric sorting.
-- Benoît
|
|