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

Fix order of elements after Page copy #2752

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Feb 27, 2024

What is this pull request for?

A page with fixed and non-fixed elements need to copy each element group individually in order to maintain the list position, because the acts_as_list scope is

[:page_version_id, :fixed, :parent_element_id]

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

A page with fixed and non-fixed elements need to copy
each element group individually in order to maintain
the list position, because the acts_as_list scope is

    [:page_version_id, :fixed, :parent_element_id]
@tvdeyen tvdeyen added bug backport-to-7.0-stable Needs to be backported to 7.0-stable backport-to-6.1-stable Needs to be backported to 6.1-stable backport-to-7.1-stable Needs to be backported to 7.1-stable labels Feb 27, 2024
@tvdeyen tvdeyen requested a review from a team February 27, 2024 14:11
@tvdeyen tvdeyen merged commit 951fd74 into AlchemyCMS:main Feb 27, 2024
38 checks passed
@tvdeyen tvdeyen deleted the fix-copy-elements-order branch February 27, 2024 14:16
@alchemycms-bot
Copy link
Collaborator

💔 Some backports could not be created

Status Branch Result
7.0-stable
6.1-stable Backport failed because of merge conflicts
7.1-stable

Manual backport

To create the backport manually run:

backport --pr 2752

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

tvdeyen added a commit that referenced this pull request Feb 27, 2024
[7.1-stable] Merge pull request #2752 from tvdeyen/fix-copy-elements-order
tvdeyen added a commit that referenced this pull request Feb 27, 2024
[7.0-stable] Merge pull request #2752 from tvdeyen/fix-copy-elements-order
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-6.1-stable Needs to be backported to 6.1-stable backport-to-7.0-stable Needs to be backported to 7.0-stable backport-to-7.1-stable Needs to be backported to 7.1-stable bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants