mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
fix record order in story
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