From c3ee6c22175650067850797c6885c679b2665d00 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Wed, 1 Feb 2023 11:53:02 +0100
Subject: [PATCH] Fix #754

---
 app/models/communication/website/page.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/models/communication/website/page.rb b/app/models/communication/website/page.rb
index 01499c8da..dcf2c6fd4 100644
--- a/app/models/communication/website/page.rb
+++ b/app/models/communication/website/page.rb
@@ -107,6 +107,7 @@ class Communication::Website::Page < ApplicationRecord
     blocks.ordered.each do |block|
       b = block.duplicate
       b.about = page
+      b.position = block.position
       b.save
     end
     page
-- 
GitLab