Skip to content

Highscores, sort by vocation #28

@att3

Description

@att3

Would be nice to be able to sort players by vocation on highscores.

SkillX = selected skill.
To me it seems like it loads it like this: (can't use filter here properly)

Sort players by skillX
Fetch 100 players on the list (not more, not "normal" mysql limit)

It will load 100 players, with skillX.
But if I want to show 100 players with skillX and vocationX, it will only show the players from the top 100 with the skillX, then it will filter those remaining 100 players with vocationX.

I am trying to load players like this:

Sort players by skillX
Fetch 100 players with skillX AND vocationX.
"SQL / ZnoteAAC": SELECT * FROM players WHERE skillX = '$scope.selectedSkill' AND vocation = '$scope. vocationX' LIMIT 100;"

I haven't yet 100% understood how the SQL / API things work.

Lastly, I've gotta say that this AAC is absolutely stunning.
I've had never used angular / swagger before I tried this AAC, so I am having quite hard time understanding how everything works.
But, yeah - I've also gotta say that I've learned a lot during the past week, but there are some basic things I haven't understood yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions