You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having a problem sorting the results with a column from my has_many relations;
Already check the code, and found something's that i don't understand,
Why the order_by variable is reseted on the loop if after the loop is where the result will be sorted using the sort function?
On the _build_sorter function how it works, because if the result have more than one position the arrayA will have multiples position, therefore the arraya[orderby] will not work, since is a multidimensional array
The text was updated successfully, but these errors were encountered:
I'm having a problem sorting the results with a column from my has_many relations;
Already check the code, and found something's that i don't understand,
Why the order_by variable is reseted on the loop if after the loop is where the result will be sorted using the sort function?
On the _build_sorter function how it works, because if the result have more than one position the arrayA will have multiples position, therefore the arraya[orderby] will not work, since is a multidimensional array
The text was updated successfully, but these errors were encountered: