verbb / field-manager

Field Manager is a Craft CMS plugin to make it easy to manage your fields and field groups.
MIT License
199 stars 16 forks source link

Field order in cloned matrix field is incorrect #95

Open paulgoodfield opened 1 year ago

paulgoodfield commented 1 year ago

Describe the bug

When cloning an existing matrix field, the order of the fields in each matrix block in the newly cloned field are incorrect. It looks like they're ordering alphabetically rather than matching the order of the original matrix field being cloned.

Steps to reproduce

  1. Using the CMS/plugin versions described below, clone a matrix field that contains blocks that have multiple fields
  2. The blocks in the newly cloned matrix field have their fields in a different order

Craft CMS version

4.3.6.1

Plugin version

3.0.5

Multi-site?

No

Additional context

Looking back through previous issues, it says this was fixed in v2.1.6 but the issue seems to still be there.

Here is a list of other info that may be useful:

PHP version 8.1.11 Database driver & version MySQL 10.5.13 Craft edition & version Craft Pro 4.3.6.1

Plugins

engram-design commented 1 year ago

Can't seem to replicate this, sorry! Are you able to send through an export of your Matrix field so I can confirm?

samuelreichor commented 1 year ago

I could replicate it also today by cloning a matrix field with an entry field and a plain text field in it.

engram-design commented 1 year ago

@samuelreichor Can you provide an export of your Matrix field setup, or at least a screenshot? No combinations of setups seem to do this for me.