Merge pull request #11244 from MrPetovan/bug/11232-post-media-order
Use expected order for post medias
This commit is contained in:
commit
4d274cc3ea
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