Fabrik / fabrik

Fabrik for Joomla 3.x
http://fabrikar.com
Other
254 stars 380 forks source link

Fix for case when table joins, although created by their "logical" order have wrong order in final queries #2261

Open jaanusnurmoja opened 2 years ago

jaanusnurmoja commented 2 years ago

Actually it would make more sense if we also create a feature of reordering joins.

example of issue

from one to two from two to three from three to four from four to five

it could produce joins in this order: left join two on two.one_id= one.id left join three on three.two_id= two.id left join five on five.four_id = four.id left join four on four.three_id = three.id

and error message which says that there is no four.id in field list