• Resolved piude

    (@piude)


    Hi! Using a SporstPress plugin, is it possible to arrange players with equal points (goals + assists) in a way that the one that has more goals comes first in player statistics?

    1. Xxx 6+2=8
    2. Yyy 4+4=8
    3. Zzz 1+7=8

    etc.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Savvas

    (@savvasha)

    Hi @piude,

    You can achieve what you want if you create a “hidden” performance and Sort your player based on this.

    MoreGoals = Goals+Assists+Goals

    This way, you will be able to sort them correctly.

    Thanks,
    Savvas

    Thread Starter piude

    (@piude)

    Thanks for your tip, Savvas. Unfortunately it doesn’t resolve my actual problem. My previous example was probably not so good… I’ll try to explain better. With MoreGoals sorting the statistics would look like this:

    1. Xxx 2+0=2 (MoreGoals: 2+0+2=4)
    2. Yyy 1+0=1 (MoreGoals: 1+0+1=2)
    3. Zzz 0+2=2 (MoreGoals: 0+2+0=2)

    However, player Zzz should be above Yyy since Zzz has actually more points (0+2) than Yyy (1+0). Do you have any other suggestions? Is there a way to tell the statistics table to firstly arrange the players by total points (g+a) and secondly by goals?

    Plugin Contributor Savvas

    (@savvasha)

    Hi @piude,

    You are right. There are some “edge” that cannot be sorted correctly with my proposed solution.

    Unfortunately what you ask is not available right now to SportsPress. It is a great idea though. Please share it at SportsPress Ideaboard for further discussion.

    Thanks,
    Savvas

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Order in player statistics (same points, more goals)’ is closed to new replies.