Use expected order for post medias
- This fixes the wrong display order of post pictures
This commit is contained in:
parent
41f502266e
commit
9ae0234bb5
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue