mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-24 02:13:15 +00:00
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:
@@ -140,6 +140,7 @@ class LegacyRecordRepository implements RecordRepository
|
|||||||
's.rid_parent IN (:storyIds)',
|
's.rid_parent IN (:storyIds)',
|
||||||
'r.parent_record_id = 0'
|
'r.parent_record_id = 0'
|
||||||
)
|
)
|
||||||
|
->orderBy('s.ord', 'ASC')
|
||||||
->setParameter('storyIds', $storyIds, Connection::PARAM_INT_ARRAY)
|
->setParameter('storyIds', $storyIds, Connection::PARAM_INT_ARRAY)
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user