This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
simon.albrecht6232
Hi guys, in one of my projects I got a model with an attachMany-relationship. In october's backend, the ordering of the attached files gets respected due to the existence of the "sort_order"-field in the system_files table. When I access the attached files in my templates however, I seem to be getting some sort of random order.
Does anybody know how to query an attachMany-relationship with respect to a sorting order?
Any help is greatly appreciated.
1-1 of 1