https://github.com/PrestaShop/PrestaShop/pull/8638/files
https://www.prestashop.com/forums/topic/554037-possible-bug-on-product-attributes-list-pagination-in-1616/
https://www.prestashop.com/forums/topic/507337-backoffice-pagination-error-in-products-attribute-section/
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; }
Function fixes the bug too for Feature values. We need to create an override for ‘AdminFeaturesController.php’:
<?php class AdminFeaturesController extends AdminFeaturesControllerCore { public function setRedirectAfter($url) { $addUrl = ''; if(Tools::isSubmit('viewfeature') && Tools::getValue('id_feature')) { $addUrl = '&viewfeature&id_feature=' . Tools::getValue('id_feature'); } $this->redirect_after = $url . $addUrl; } }