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

[5.5.5] Collection sortBy second argument $options only works with SORT_REGULAR #21253

Closed
ozldmezot opened this issue Sep 19, 2017 · 2 comments
Closed

Comments

@ozldmezot
Copy link

ozldmezot commented Sep 19, 2017

Laravel 5.5.5
PHP 7.0
Commit (c108006) breaks sortby second argument $options, since the $results is an array of arrays

Steps to Replicate;

$collection->sortBy('title', SORT_STRING|SORT_FLAG_CASE)
@ionesculiviucristian
Copy link

Can confirm this.

@themsaid
Copy link
Member

reverted in #21255

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

3 participants