fix(champs): fix rows order
This commit is contained in:
parent
a60bc5d630
commit
818dcc32da
1 changed files with 3 additions and 1 deletions
|
@ -5,7 +5,9 @@ class Champs::RepetitionChamp < Champ
|
|||
def rows
|
||||
dossier
|
||||
.champs_for_revision(scope: type_de_champ)
|
||||
.group_by(&:row_id).values
|
||||
.group_by(&:row_id)
|
||||
.sort
|
||||
.map(&:second)
|
||||
end
|
||||
|
||||
def row_ids
|
||||
|
|
Loading…
Add table
Reference in a new issue