Problem/Motivation

After changing a sort option to true in the field settings and saving the settings the settings are stored. But when going to the Name field settings again, the sort-options are still empty.

Steps to reproduce

Add a Name field in a content type. Change In the field settings form one or both sort options to true and save the settings. Go back to the field settings of the content type and click on Edit in the Name field. The sort options are not set.

Proposed resolution

See my patch.

CommentFileSizeAuthor
sort_options.patch1.37 KBpromes

Issue fork name-3221960

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

PROMES created an issue. See original summary.

promes’s picture

My text is not 100% correct. The settings are still available but not shown and reused: after another save (without setting the options again) all options are set to FALSE. My patch uses the original settings. So no update is neccesary.

tyapchyc’s picture

Assigned: Unassigned » tyapchyc

tyapchyc’s picture

Assigned: tyapchyc » Unassigned
Status: Active » Needs review

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

bluegeek9 changed the visibility of the branch 8.x-1.x to hidden.

bluegeek9’s picture

Status: Needs review » Fixed
//www.flaticon.com/free-icons/thank-you Thank you for your contribution! Your continued support makes this project sustainable.
There are multiple ways to show appreciation for the work contributed to this project including:
  • Triage issues and adding more context to existing issues.
  • Flagging Name Field as a favorite on the project page to help others discover it and show your support.

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.

Status: Fixed » Closed (fixed)

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