Listing method update for Newsletters/Forms/Segments/Subscribers
- updated unit tests
This commit is contained in:
@@ -106,6 +106,7 @@ class Handler {
|
||||
);
|
||||
}
|
||||
|
||||
// get items and total count
|
||||
if(method_exists($this->model_class, 'listingQuery')) {
|
||||
$custom_query = call_user_func_array(
|
||||
array($this->model_class, 'listingQuery'),
|
||||
@@ -135,7 +136,6 @@ class Handler {
|
||||
->findMany();
|
||||
}
|
||||
|
||||
|
||||
return array(
|
||||
'count' => $count,
|
||||
'filters' => $filters,
|
||||
|
Reference in New Issue
Block a user