Jump to content

Backoffice controller different filter link


marshallus

Recommended Posts

Hi (sorry for bad english)

I explain what i want, i hope you can tell the better way to did it.

I want 3 links in the backoffice menu  for example :

- pending orders
- completed orders
- cancel orders

I manage to dit it, modify url link with javascript to add param to url (ex: filter=pending, filter=canceled).

I use hookActionAdminOrdersListingFieldsModifier to get a custom get url i put in javascript, and do the filter using Tools::getValue.
But as soon as i modify another filter the get param is deleted,....

Any idea?

 

Edited by marshallus (see edit history)
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...