Radio Streaming - 50% Lifetime Discount with purchase of any Joomla Web Radio Addon. Discount Code: STR15-Z
See Radio Streaming Plans

Results 1 to 3 of 3

Thread: championship predictions change

  1. #1

    championship predictions change

    hi,

    Ive noticed that the championship predictions change position each time you go into it, can it be set that it stays the same place like the league predictions. This will help users who check the league tables for team positions and not have to go up and down the leagues.
    Regards

  2. #2
    Administrator
    Join Date
    Jul 2015
    Posts
    65
    Hello,

    we noticed the issue you mentioned , it happens when the match is played on the same time, to fix this issue and have a stable position in prediction table you will have to change the code in the file
    <joomla directory>/components/com_masterleaguepro/models/minileaguematches.php
    at line 68
    Code:
    ->order("md.id,m.start_date");
    to
    Code:
    ->order("md.id,m.start_date,m.id");
    apply the same change at line 96 (first change for the guests, and the second one is when a user is logged in)

  3. #3
    Hi,

    Waited until we had next cup games to do the change, the new code worked great, many thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •