Merge pull request #10141 from tchak/fix-rows-order
fix(champs): fix rows order
This commit is contained in:
commit
c5892a1ca2
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…
Reference in a new issue