mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-25 16:24:27 +08:00
Set sequential_updates to true for acts_as_list for result orderable [SCI-9430]
This commit is contained in:
parent
2919516bca
commit
b4faefdb23
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ class ResultOrderableElement < ApplicationRecord
|
|||
|
||||
belongs_to :result, inverse_of: :result_orderable_elements, touch: true
|
||||
belongs_to :orderable, polymorphic: true, inverse_of: :result_orderable_element
|
||||
acts_as_list scope: :result, top_of_list: 0, sequential_updates: false
|
||||
acts_as_list scope: :result, top_of_list: 0, sequential_updates: true
|
||||
|
||||
private
|
||||
|
||||
|
|
Loading…
Reference in a new issue