daveyrow Posted September 5, 2016 Share Posted September 5, 2016 Hi, i'm using Prestashop 1.6.1.6, i have small problem. When i add too many attribute items to attribute group, and paging appears, it simply does not work, it always redirects me to AttributeGroup list, not Attribute Items list. Please, do you have any suggestion for this? Thanks a lot. Link to comment Share on other sites More sharing options...
daveyrow Posted September 13, 2016 Author Share Posted September 13, 2016 Hi, i fixed this by adding a short code to 'AdminAttributesGroupsController.php' in /controllers/admin/ public function setRedirectAfter($url) { $addUrl = ''; if(Tools::isSubmit('viewattribute_group') && Tools::getValue('id_attribute_group')) { $addUrl = '&viewattribute_group&id_attribute_group=' . Tools::getValue('id_attribute_group'); } $this->redirect_after = $url . $addUrl; } dont know if its correct or buggy for other things but yet it works well 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