1
0
Fork 0

Use expected order for post medias

- This fixes the wrong display order of post pictures
This commit is contained in:
Hypolite Petovan 2022-02-15 09:53:24 -05:00
parent 41f502266e
commit 9ae0234bb5

View file

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