Skip to content

Commit

Permalink
Update Customers.php
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspijak authored Oct 22, 2020
1 parent 01afda4 commit 91e3b82
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions upload/system/library/cartsms/cartsms/src/Customers.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ protected function filter(array $filters)
case 'order_date':
$customers = $this->getCustomers($this->db->execute("SELECT `customer_id` FROM `{$this->db->table('order')}` WHERE {$this->getSql($filter, 'date_added', 'order')}"), $customers);
break;
case 'order_status':
$customers = $this->getCustomers($this->db->execute("SELECT `customer_id` FROM `{$this->db->table('order')}` WHERE {$this->getSql($filter, 'order_status_id', 'order')}"), $customers);
break;
}
$filtered = true;
}
Expand Down

0 comments on commit 91e3b82

Please sign in to comment.