aladage Reply #1, 4 months, 1 week ago
I'm having trouble understanding how to sort and filter getCollectionGraph based on anything other than the primary key. I have another column called "created_userid", and all I want is the equivalent of a where statement that lets me show only entries that match a passed-in userid. Can anyone clarify? I'd be glad to provide my example code.
Btw, I saw this thread...
http://forums.modx.com/thread/31768/but-i-don-t-want-to-order-by-primary-key#dis-post-171755
...but it makes no sense to me and (I think) is way more complicated than what I'm trying to do:
Btw, I saw this thread...
http://forums.modx.com/thread/31768/but-i-don-t-want-to-order-by-primary-key#dis-post-171755
...but it makes no sense to me and (I think) is way more complicated than what I'm trying to do: