Jump to content

Wrong referrer on Reset button


symfony4

Recommended Posts

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:

 
and the referrer request sent by pressing the Reset button looks like:
 
 
Thank you
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...