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

Field order in cloned matrix field is incorrect #95

Open
paulgoodfield opened this issue Feb 6, 2023 · 3 comments
Open

Field order in cloned matrix field is incorrect #95

paulgoodfield opened this issue Feb 6, 2023 · 3 comments

Comments

@paulgoodfield
Copy link

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

  • Cloner 2.0.3
  • Colour Swatches 4.2.1
  • Environment Label 4.0.2
  • Forms 4.0.11
  • Matrix Field Preview 4.0.5
  • Navigation 2.0.16
  • Redactor 3.0.3
  • Retour 4.1.9
  • SEOmatic 4.0.19
  • Super Table 3.0.7
@engram-design
Copy link
Member

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

@samuelreichor
Copy link

samuelreichor commented Jul 5, 2023

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

@engram-design
Copy link
Member

@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.

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

No branches or pull requests

3 participants