Support » Plugin: SportsPress - Sports Club & League Manager » Auto filtering on event

  • hi,

    When you first arrive on this page, and you scroll down to the table it filters by name, but I would like it to filter by Total automatically, rather then having to click on total, can this be done?

    Cheers.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Roch

    (@rochesterj)

    Hi!

    Thanks for reaching out.

    Do you mean ordering bu the total? That’s a great idea! Unfortunately, we don’t have this option at the moment for player sections.

    You could add this with some custom code though.

    Thanks!

    Hi,

    Yes I figured I would need to do something custom. Can you point me in the right direction for what and where? I’m guessing event-performance-table.php?

    Cheers.

    Plugin Support Roch

    (@rochesterj)

    Hi!

    Thanks for your reply.

    Honestly, I think it would be much simpler to write a JS snippet to click on that order column twice:
    http://api.jquery.com/click/

    Editing the item’s order via PHP would be fairly complex (at least for me) to get you the same result as a jQuery snippet.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.