gfrenoy / TabT-API

Programming interface for TabT, the free table tennis manager software
http://tabt.frenoy.net
GNU Affero General Public License v3.0
9 stars 5 forks source link

Position & RankingIndex not correct when A ranking in the list #10

Closed Fllorent0D closed 5 years ago

Fllorent0D commented 5 years ago

When there is player with A ranking in the list all the 'Position' is shifted by the number of A. Don't know if it's normal

capture d ecran 2018-09-26 a 07 45 58
gfrenoy commented 5 years ago

Looks correct to me ; members that are registered as "Super Division" players (status "S" or "T") do not have a index number.

If can of doubt, you can always check the list on the website and see if it matches: https://resultats.aftt.be/club/L264/membres

Fllorent0D commented 5 years ago

Junius Jonathan which is 4/3 is normal ?

gfrenoy commented 5 years ago

Yes.

Fllorent0D commented 5 years ago

If you follow S.3.4, first three players when there are playing in Super shouldn't appear in the "liste des forces". Then it should look like this unknown

gfrenoy commented 5 years ago

And there are not since "RankingIndex" is 0...

Please understand that "GetMembers" gives you the list of members of the club ; not the so called "liste des forces".

It's up to you to build it according to the Status (must be A or V ; or T or S for Super Division) and possibly the RankingPosition (that is 0 for members with status T and S so this is redundant with the status).