Re-order model media #2610
Answered
by
rodriguezaitor
rodriguezaitor
asked this question in
Q&A
-
Hello! I'm trying to re-order the media assigned to a certain model.
Returns: 5 media objects with ids 154, 155, 156, 157, 158. I need to be able to re-order the collection as i wish. Any approach? |
Beta Was this translation helpful? Give feedback.
Answered by
rodriguezaitor
Oct 7, 2021
Replies: 1 comment
-
Update, solved. Just needed to do:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
freekmurze
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Update, solved.
Just needed to do:
Media::setNewOrder([154,155]);