Merge pull request #11244 from MrPetovan/bug/11232-post-media-order

Use expected order for post medias
This commit is contained in:
Michael Vogel 2022-02-15 16:38:36 +01:00 committed by GitHub
commit 4d274cc3ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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']]);
} }
/** /**