Problem/Motivation

The dropdown of crop types in the manual crop image effect form shows all the crop types, but their order should be sorted.

Steps to reproduce

Proposed resolution

Add a natcasesort() to the $options.

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork crop-3228372

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

joachim created an issue. See original summary.

joachim’s picture

Status: Active » Needs review
drdam’s picture

Status: Needs review » Reviewed & tested by the community
nikolay shapovalov’s picture

Thanks +1 for RTBC.

phenaproxima made their first commit to this issue’s fork.

phenaproxima’s picture

Status: Reviewed & tested by the community » Fixed

I love how a single line (doesn't even need test coverage!) can be such a small, but significant, nicety to users. Merge train started for 8.x-2.x, thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • phenaproxima committed 73a481f0 on 8.x-2.x authored by joachim
    [#3228372] feat: Crop types are not sorted in the image effect form
    
    By...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.