Api-platform order for children
0
1
I just begin to use api-platform to GET some entities and all their children. There is a self-join here, SQL looks like entity e0_ LEFT JOIN entity e1_ ON e0_.id = e1_.parent_id I found the result records are sorted by id ORDER BY e0_.id ASC , while their children are not sorted. My question is how to sort their children also ORDER BY e0_.id ASC, e1_.id ASC I viewed the document, seems not mentioned. https://api-platform.com/docs/core/default-order thanks
sorting children api-platform.com
share | improve this question
asked Nov 26 '18 at 4:07
Bingbing Bingbing
...