Casper_O Posted October 12, 2017 Share Posted October 12, 2017 With 50 orders aday, it can be a little messy when sometimes products is not in stock, so we did not show shipped and cancelled orders by default. What we have tried so far is to make an override of AdminOrdersController with the following info: public function renderList(){ if(!$this->_filter) { $this->_filter = "AND os.`id_order_state` NOT IN(4,6) "; return parent::renderList(); } } Problem is, as soon we search for something this filter seems to still apply (even that it should not due to the if statemenet) 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