View Full Version : Order of match results on page below
3hills
17-07-2015, 04:04 PM
--------------------------------------------------
Topic Transfered from old forum
--------------------------------------------------
http://www.****.com/your-performance.html?view=matchresults
Hi, can you tell me how to sort the matched in date order. At present the results are appearing in another order which is not helpful.
3hills
17-07-2015, 04:05 PM
--------------------------------------------------
Topic Transfered from old forum
--------------------------------------------------
Hello,
unfortunatly currently there is no option for that , but we can help you to change it or if you give us access to webserver we can make the changes.
To change the sorting you will have to edit a file . <joomla directory>/components/com_masterleaguepro/models/matchresults.php
change the line 37 with the code " WHERE m.matchday_id = ".$matchday; to " WHERE m.matchday_id = ".$matchday." ORDER BY m.match_start_time ASC"; if you want to sort the matches by date from min date to max date or
" WHERE m.matchday_id = ".$matchday." ORDER BY m.match_start_time DESC"; if you want to sort the matches by date from max date to min date.
Kind regards
Support Department
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.