Merge pull request #3263 from alchemy-fr/PHRAS-2856-record-order-in-story

PHRAS-2856 #comment merge fix record order in story 4.1
This commit is contained in:
Nicolas Maillat
2019-12-12 11:02:57 +01:00
committed by GitHub

View File

@@ -140,6 +140,7 @@ class LegacyRecordRepository implements RecordRepository
's.rid_parent IN (:storyIds)',
'r.parent_record_id = 0'
)
->orderBy('s.ord', 'ASC')
->setParameter('storyIds', $storyIds, Connection::PARAM_INT_ARRAY)
;