Returning Numerous Rows When One Expected #1170
Replies: 2 comments 3 replies
-
One "ofMany" issue has been a problem before, see issue #1005, it's something I'm fully intending to look at in the not too distant future. I've given an example for an interim fix (surprisingly of almost exactly the same issue) here, which should get it working for you at least! |
Beta Was this translation helpful? Give feedback.
-
I'm running into this same issue. I'm able to get the column to display with the solution shared as well as with a label column, however I cannot sort off of this column since the value doesn't match the actual displayed field. Joining the tables brings back the duplicate records even though I just want the latest of many in this instance. |
Beta Was this translation helpful? Give feedback.
-
I have this relationship on my Account model
When I add this column to my data tables columns method I am returned four rows when the raw sql query only returns one row.
Can anyone see what I am doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions