8000 [Finder] Described "use natural sort" option by vyshkant · Pull Request #9671 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Finder] Described "use natural sort" option #9671

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

Merged
merged 2 commits into from
Jun 1, 2018
Merged

[Finder] Described "use natural sort" option #9671

merged 2 commits into from
Jun 1, 2018

Conversation

vyshkant
Copy link
Contributor
@vyshkant vyshkant commented Apr 23, 2018

Added description for new $useNaturalSort option of Finder::sortByName() method.

@javiereguiluz javiereguiluz added Finder Waiting Code Merge Docs for features pending to be merged labels Apr 24, 2018
@vyshkant vyshkant changed the title [Finder] Described "natural ordering" sort option [Finder] Described "use natural sort" option Apr 24, 2018
@vyshkant vyshkant changed the base branch from 3.4 to master April 24, 2018 12:04
@xabbuh xabbuh added this to the next milestone May 19, 2018
symfony-splitter pushed a commit to symfony/finder that referenced this pull request May 30, 2018
This PR was merged into the 4.2-dev branch.

Discussion
----------

[Finder] added "use natural sort" option

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #26930
| License       | MIT
| Doc PR        | symfony/symfony-docs#9671

Added `$useNaturalSort` optional argument to `Finder::sortByName()` method. If it is specified and equals to `true`, ["natural sort order" algorithm](https://en.wikipedia.org/wiki/Natural_sort_order) will be applied, which means that `strnatcmp` function will be used instead of `strcmp` (see #26930 for details).

Commits
-------

e697c7d272 [Finder] added "use natural sort" option
fabpot added a commit to symfony/symfony that referenced this pull request May 30, 2018
This PR was merged into the 4.2-dev branch.

Discussion
----------

[Finder] added "use natural sort" option

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #26930
| License       | MIT
| Doc PR        | symfony/symfony-docs#9671

Added `$useNaturalSort` optional argument to `Finder::sortByName()` method. If it is specified and equals to `true`, ["natural sort order" algorithm](https://en.wikipedia.org/wiki/Natural_sort_order) will be applied, which means that `strnatcmp` function will be used instead of `strcmp` (see #26930 for details).

Commits
-------

e697c7d [Finder] added "use natural sort" option
@vyshkant
Copy link
Contributor Author

Waiting Code Merge

Looks like code has been merged.

@javiereguiluz javiereguiluz added Missing Documentation and removed Waiting Code Merge Docs for features pending to be merged labels May 31, 2018
@javiereguiluz javiereguiluz modified the milestones: next, 4.2 May 31, 2018
Copy link
Member
@javiereguiluz javiereguiluz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vyshkant thanks for providing these docs. I loved that you made it so concise ... but to avoid confusion, I expanded the explanation a bit to show an example. Thanks!

@javiereguiluz
Copy link
Member

And this is now merged! The first merge for Symfony 4.2 🎉 @vyshkant congrats on your first Symfony Docs contribution too!

@javiereguiluz javiereguiluz merged commit 9649800 into symfony:master Jun 1, 2018
javiereguiluz added a commit that referenced this pull request Jun 1, 2018
…aviereguiluz)

This PR was merged into the master branch.

Discussion
----------

[Finder] Described "use natural sort" option

Added description for new `$useNaturalSort` option of `Finder::sortByName()` method.

Commits
-------

9649800 Expanded the explanation a bit
0d38d1b [Finder] Described "use natural sort" option
joshtrichards pushed a commit to joshtrichards/symfony-finder that referenced this pull request Apr 26, 2024
This PR was merged into the 4.2-dev branch.

Discussion
----------

[Finder] added "use natural sort" option

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #26930
| License       | MIT
| Doc PR        | symfony/symfony-docs#9671

Added `$useNaturalSort` optional argument to `Finder::sortByName()` method. If it is specified and equals to `true`, ["natural sort order" algorithm](https://en.wikipedia.org/wiki/Natural_sort_order) will be applied, which means that `strnatcmp` function will be used instead of `strcmp` (see #26930 for details).

Commits
-------

16aff97 [Finder] added "use natural sort" option
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0