Guest lorathon Posted February 22, 2010 Report Share Posted February 22, 2010 I have searched around but could not find anything regarding this. I want the pending pireps to show in an ascending order instead of descending. I want the oldest at the top of the list. Is this possible and if so can you please let me know how to do this. Thank you in advance Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted February 22, 2010 Administrators Report Share Posted February 22, 2010 In your local.config.php file add the following line -> Config::Set('PIREPS_ORDER_BY', 'p.submitdate ASC'); 1 Quote Link to comment Share on other sites More sharing options...
Guest lorathon Posted February 26, 2010 Report Share Posted February 26, 2010 The problem now is with this set the frontpage recent pireps is wrong. How can I just change the order of "Pending" pireps and not the order of the frontpage pireps? Thanks. Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted February 27, 2010 Administrators Report Share Posted February 27, 2010 You easiest fix for what you want is to go ahead and create your own sql function to call the data in the order you want it for that list only. Quote Link to comment Share on other sites More sharing options...
Guest lorathon Posted March 1, 2010 Report Share Posted March 1, 2010 Thanks, That is exactly what I did. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.