Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Max-Headroom opened this issue Apr 18, 2021 · 0 comments

Comments

@Max-Headroom
Copy link

Max-Headroom commented Apr 18, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant