Skip to content

Sort arrays when comparing elements so that same values in different order doesn't trigger update#735

Open
kristiansp wants to merge 1 commit intocraftcms:5.xfrom
kristiansp:pr/sort-arrays
Open

Sort arrays when comparing elements so that same values in different order doesn't trigger update#735
kristiansp wants to merge 1 commit intocraftcms:5.xfrom
kristiansp:pr/sort-arrays

Conversation

@kristiansp
Copy link
Contributor

Fields like e.g. Category fields will trigger an update and resave of the element if arrays are identical, but values come in different order. Sorting them should fix this.

Fields like e.g. Category fields will trigger an update and resave of the element if arrays are identical, but values come in different order. Sorting them should fix this.
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