vnasp Posted January 13, 2021 Share Posted January 13, 2021 Hello everyone, I'm customizing a module from PS 1.7.5 and need that "state order" column loads pre-filtered. I mean, when I load the page, always it shows the orders with X state order, and then I can change for another state order. The page is very similar to Admin Order List. 1. I tried adding a where clause in the sql select, but then the filter only shows X state order (from the where clause), any another state order shows empty. 2. So I looking for a 'filter' command in column array, like filter pre select, filter begin, pre-selected, but I don't found it nothing yet. I have this: 'osname' => array( 'title' => $this->l('Status'), 'color' => 'color', 'width' => 200, 'type' => 'select', 'list' => $statuses_array, 'filter_key' => 'os!id_order_state', 'filter_type' => 'int' 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