Skip to content

Support for merging 3+ fields at once with fields/merge#16719

Merged
brandonkelly merged 1 commit into
5.7from
feature/multi-field-merge
Feb 17, 2025
Merged

Support for merging 3+ fields at once with fields/merge#16719
brandonkelly merged 1 commit into
5.7from
feature/multi-field-merge

Conversation

@brandonkelly

Copy link
Copy Markdown
Member

Description

Adds support for merging 3+ fields at once via the fields/merge command.

php craft fields/merge foo bar baz

There’s also a new shortcut for merging multiple fields, each with the same base handle with incremented numeric suffix (e.g. foo2, foo3, etc.):

php craft fields/merge foo#

(That will match any field whose handle is foo or foo plus a number.)

Related issues

@brandonkelly brandonkelly merged commit 3050d4d into 5.7 Feb 17, 2025
@brandonkelly brandonkelly deleted the feature/multi-field-merge branch February 17, 2025 23:22
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

Successfully merging this pull request may close these issues.

1 participant