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

Для метода сервиса b24UserGet сделать дефолтные настройки для сортировки #381

Closed
Tracked by #385
VladislavBorodin opened this issue Apr 4, 2024 · 0 comments · Fixed by #392
Assignees
Labels
2.x issue related with 2.x sdk version scope USER application scope user

Comments

@VladislavBorodin
Copy link

public function get(array $order, array $filter, bool $isAdminMode = false): UsersResult
{
return new UsersResult($this->core->call('user.get', [
'sort' => array_keys($order)[0],
'order' => array_values($order)[0],
'filter' => $filter,
'ADMIN_MODE' => $isAdminMode ? 'true' : 'false'
]));
}

@mesilov mesilov self-assigned this Apr 5, 2024
@mesilov mesilov added 2.x issue related with 2.x sdk version scope USER application scope user labels Apr 5, 2024
@mesilov mesilov linked a pull request Jun 29, 2024 that will close this issue
@mesilov mesilov closed this as completed Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x issue related with 2.x sdk version scope USER application scope user
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants