From ee792b89df82688e99a74b6ee6de3a5ea1584b37 Mon Sep 17 00:00:00 2001 From: artoscinote <85488244+artoscinote@users.noreply.github.com> Date: Mon, 11 Jul 2022 10:58:20 +0200 Subject: [PATCH] Fix loading repositories that contain tables [SCI-6951] (#4200) --- app/models/protocol.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/protocol.rb b/app/models/protocol.rb index 499b037dd..1b76a3ebd 100644 --- a/app/models/protocol.rb +++ b/app/models/protocol.rb @@ -346,7 +346,7 @@ class Protocol < ApplicationRecord step2.step_orderable_elements.create!( position: position, - orderable: table2 + orderable: table2.step_table ) position += 1