Problem/Motivation

Sort extra fields by display type (form, display - like the tabs) in the extra field table (e.g. /admin/structure/types/manage/page/extra-fields)

Currently, they are sorted by machine name or label I guess, but IMHO it would make sense to first have all form extra fields and then all display extra fields, just like the tabs above.

Within these, they should then be sorted by machine_name I'd say?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

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

anybody created an issue. See original summary.

anybody’s picture

Issue summary: View changes
aayushpathak’s picture

working on it !

aayushpathak’s picture

Status: Active » Needs review
anjuelsaphilip2020’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new58.43 KB
new53.58 KB

Hi, I've verified and tested MR!53 and applied the patch successfully on Entity Extra Field 2.1.x-dev version. The changes are working as expected.
Following steps I followed:

  1. Go to Structure → Content Types → Page → Manage Extra Fields.
  2. Create or verify existing form extra fields like Author, Created and view/display extra fields like Links, Submitted.
  3. Observe the table order, grouping, and column structure.
  4. Testing Result: After applying the patch, the Manage Extra Fields table now displays form extra fields first, followed by view/display extra fields, all grouped by Display type.
    Attaching screenshots for reference.
    Thanks

anybody’s picture

Status: Reviewed & tested by the community » Needs work
aayushpathak’s picture

Status: Needs work » Needs review
anybody’s picture

Status: Needs review » Reviewed & tested by the community

Nice @aayushpathak works as expected!

anybody’s picture

Status: Reviewed & tested by the community » Fixed

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.

  • anybody committed eb0c3fc0 on 2.1.x authored by aayushpathak
    feat: #3578850 Sort extra fields by display type (form, display - like...

Status: Fixed » Closed (fixed)

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