Merge pull request #11244 from MrPetovan/bug/11232-post-media-order
Use expected order for post medias
This commit is contained in:
commit
4d274cc3ea
|
@ -518,7 +518,7 @@ class Media
|
||||||
$condition = DBA::mergeConditions($condition, ['type' => $types]);
|
$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