yellowbellys Posted July 27, 2014 Share Posted July 27, 2014 I'd like to set this: So that it defaults and stays as if I pressed the left button, where it displays the most recent item I added, in the back office. How? Link to comment Share on other sites More sharing options...
NemoPS Posted July 28, 2014 Share Posted July 28, 2014 You have to override or change AdminProductsController::getList You have orderby and way there, you can write something like "if order by/way is not set, set it to order by id desc" Link to comment Share on other sites More sharing options...
yellowbellys Posted August 12, 2014 Author Share Posted August 12, 2014 You have to override or change AdminProductsController::getList You have orderby and way there, you can write something like "if order by/way is not set, set it to order by id desc" Great, I'm trying to edit this to do as you described, which file is it in? Link to comment Share on other sites More sharing options...
NemoPS Posted August 13, 2014 Share Posted August 13, 2014 AdminProductsController.php, in controllers/admin 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