Use expected order for post medias
- This fixes the wrong display order of post pictures
This commit is contained in:
parent
41f502266e
commit
9ae0234bb5
|
@ -518,7 +518,7 @@ class Media
|
|||
$condition = DBA::mergeConditions($condition, ['type' => $types]);
|
||||
}
|
||||
|
||||
return DBA::selectToArray('post-media', [], $condition);
|
||||
return DBA::selectToArray('post-media', [], $condition, ['order' => ['id']]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user