Added address source filter in Preorder
This commit is contained in:
@@ -366,6 +366,15 @@ class PreorderModel {
|
||||
}
|
||||
}
|
||||
|
||||
if(array_key_exists("address_created", $filter)) {
|
||||
$address_created = $filter['address_created'];
|
||||
if($address_created === true) {
|
||||
$where .= " AND address_created > 0";
|
||||
} elseif($address_created == null) {
|
||||
$where .= " AND address_created IS NULL";
|
||||
}
|
||||
}
|
||||
|
||||
if(array_key_exists("type", $filter)) {
|
||||
$type = $filter['type'];
|
||||
if(is_array($type) && count($type)) {
|
||||
|
||||
Reference in New Issue
Block a user