BattleMaster Community

BattleMaster => Development => Feature Requests => Topic started by: loren on August 09, 2012, 03:10:40 AM

Title: APPROVED: Sorting by Rank should sort by hierarchy rank, not alphabetically
Post by: loren on August 09, 2012, 03:10:40 AM
    Summary: Fix ranks so that a hidden number reflects position in the hierarchy so that sorting the /leaderlist.php table doesn't do so alphabetically.  Ie. Royal, Noble, Lord Knight will be come Royal, Duke, Lord, Knight, Noble.
    Details:  Each rank gets a value from 1-5 so that they can be properly sorted.  The value can then be reflected with the text call from a table of names.
    Benefits: Trying to see who has what rank in the realm and who is above or below whom is tough.
    Possible Exploits: None.
Title: Re: Sorting by Rank should sort by hierarchy rank, not alphabetically
Post by: Anaris on August 09, 2012, 03:12:08 AM
This is all part of the transition to the new tablesorter. It takes some time to get all the sorting parsers set up.
Title: Re: Sorting by Rank should sort by hierarchy rank, not alphabetically
Post by: loren on August 09, 2012, 03:14:17 AM
It's always been sorted alphabetically.  Unless things on the backend are also going to be changed to reflect rank values numerically this won't change.
Title: Re: Sorting by Rank should sort by hierarchy rank, not alphabetically
Post by: Anaris on August 09, 2012, 03:17:17 AM
It's always been sorted alphabetically.  Unless things on the backend are also going to be changed to reflect rank values numerically this won't change.

Has it?

There's no more reason that should be the case than sorting time in realm alphabetically. It's all just done by Javascript.
Title: Re: Sorting by Rank should sort by hierarchy rank, not alphabetically
Post by: loren on August 09, 2012, 03:22:17 AM
It has, always been a minor annoyance to me.  Finally saying something about it.
Title: Re: Sorting by Rank should sort by hierarchy rank, not alphabetically
Post by: Tom on August 09, 2012, 07:46:38 AM
Writing parsers for dataTables is nice and easy, I've done it before for another project. So yes, this will come. Please write up a bug report so we don't forget it.

Title: Re: Sorting by Rank should sort by hierarchy rank, not alphabetically
Post by: Foundation on August 09, 2012, 04:31:42 PM
Actually, I fixed the rank sorter a long while ago.  So it might've seemed to still be alphabetical but it's been correctly sorting for a long time until now when we're changing tablesorting.