- تاریخ ثبتنام
- 2020-06-26
- نوشتهها
- 21,408
- راهحلها
- 27
- پسندها
- 3,264
- امتیازها
- 113
- سن
- 27
- محل سکونت
- England
- وب سایت
- xenforo.xyz
Hey!
I was playing around with the Finder and been wondering: how can I select just one specific value of a to_many relation, for example the very first value?
In the template sytax, this is no problem: $Threads|first gives you the first element of $Threads. Is there an equivalent for the Finder that just picks one value of a to_many relation?
My custom content can have threads tagged to them, and I want to sort the order of an array collection with said custom content by the most recent...
I was playing around with the Finder and been wondering: how can I select just one specific value of a to_many relation, for example the very first value?
In the template sytax, this is no problem: $Threads|first gives you the first element of $Threads. Is there an equivalent for the Finder that just picks one value of a to_many relation?
My custom content can have threads tagged to them, and I want to sort the order of an array collection with said custom content by the most recent...