• Resolved dave101

    (@dave101)


    Hello good afternoon!
    I wanted to ask how I can make an order in the positions of the teams, not the users.
    For example: Team A and team B have the same points, I can order the standings by the difference between the goals made by each team.

    For example:
    Team A: 30 goals for and 10 against, difference +20
    Team B: 29 goals for and 5 against, difference +24

    Team B should go up, even if they have fewer goals than Team A. Is it possible?
    Thank you so much!

Viewing 1 replies (of 1 total)
  • Plugin Author AntoineH

    (@antoineh)

    The ranking of the teams is defined by the compare_teams function in the Football_Pool_Groups class. You can change this function by defining your own one in a plugin and passing the function to the footballpool_group_sort_function hook.

Viewing 1 replies (of 1 total)
  • The topic ‘Modify order in team ranking’ is closed to new replies.