noesac Posted August 5, 2010 Share Posted August 5, 2010 Where can I find this SQL query? Link to comment Share on other sites More sharing options...
rocky Posted August 5, 2010 Share Posted August 5, 2010 Try changing line 72 of admin/tabs/AdminMessages.php from: ORDER BY '.(isset($orderBy) ? pSQL($orderBy) : 'date_add') .' '.(isset($orderWay) ? pSQL($orderWay) : 'DESC').' to: ORDER BY '.(isset($orderBy) ? pSQL($orderBy) : 'date_add') .' '.(isset($orderWay) ? pSQL($orderWay) : 'ASC').' Link to comment Share on other sites More sharing options...
noesac Posted August 5, 2010 Author Share Posted August 5, 2010 Hi Rocky, I just tried this and don't think it works. Which is weird because it seems like the obvious place for it. There's another DESC in the file but changing this to ASC didn't work either. Link to comment Share on other sites More sharing options...
Pippo3000 Posted November 10, 2010 Share Posted November 10, 2010 Where can I find this SQL query? would be interested in this, too, as it is annpying to scroll down to the bottom of a page to see latest messages, would be quite natural to see latest on top. Phil Link to comment Share on other sites More sharing options...
noesac Posted December 14, 2010 Author Share Posted December 14, 2010 woo hoo! I figured it out. You need to change line #42 (instead of #72): from: $orderWay = Tools::getValue($this->table.'Orderway', 'ASC'); to: $orderWay = Tools::getValue($this->table.'Orderway', 'DESC'); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now