ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 24,761
- Points
- 823
Reputation:
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...
Read more
Continue reading...
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...
Read more
Continue reading...