api-library icon indicating copy to clipboard operation
api-library copied to clipboard

[Feature request] Search filters to be an array, instead of function arguments

Open Max-Headroom opened this issue 4 years ago • 0 comments

Given this: $contacts = $contactApi->getList($searchFilter, $start, $limit, $orderBy, $orderByDir, $publishedOnly, $minimal);

If I only want to set $limit, I have to fill in empty or NULL for all the other arguments.

Where as, if filters were an array, I can do something like this: $filter['limit'] = 10; $contacts = $contactApi->getList($filter);


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Max-Headroom avatar Apr 18 '21 10:04 Max-Headroom