symfony4 Posted July 10, 2015 Share Posted July 10, 2015 Hello all, I have a list of custom objects derived from ObjectModel. I created the associated class and admin controller and I display the list of these custom objects in the back-office. For common actions like sorting and searching in the list, I need to append to the request additional information, in this case id_category parameter. For sorting and searching, I modified the list_header.tpl in order to add this information and the referer request looks like: http://localhost/prestashop/admindev/index.php?controller=AdminTest&category_settingOrderby=id_category_setting&category_settingOrderway=asc&token=848acb512014e728059bcdd0af2c37c4&id_category=221 The question is, what should be modified in order add the id_category to the request sent by pressing the Reset button? Now, the referrer request when pressing the Search button looks like: http://localhost/prestashop/admindev/index.php?controller=AdminTest&category_settingOrderby=manufacturer_name&category_settingOrderway=desc&token=848acb512014e728059bcdd0af2c37c4&id_category=221 and the referrer request sent by pressing the Reset button looks like: http://localhost/prestashop/admindev/index.php?controller=AdminTest&token=848acb512014e728059bcdd0af2c37c4 Thank you 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