Skip to content
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

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

Merged
merged 1 commit into from
Feb 17, 2025

Conversation

brandonkelly
Copy link
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
11 checks passed
@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