-
Notifications
You must be signed in to change notification settings - Fork 4
Column 'id' in where clause is ambiguous #3
Description
First of all thank you for such a great plugin.
I'm using the plugin with the setup in readme. Having such an error when drag and drop the columns. Seems that in the query id should have the parent table indicator. But I couldn't find the place to correct it.
SQL: select 'imt_gammaoperationengine_vehicles'.*, 'imt_gammaauctionengine_auction_vehicle'.'auction_id' as 'pivot_auction_id', 'imt_gammaauctionengine_auction_vehicle'.'vehicle_id' as 'pivot_vehicle_id', 'imt_gammaauctionengine_auction_vehicle'.'relation_sort_order' as 'pivot_relation_sort_order' from 'imt_gammaoperationengine_vehicles' inner join 'imt_gammaauctionengine_auction_vehicle' on 'imt_gammaoperationengine_vehicles'.'id' = 'imt_gammaauctionengine_auction_vehicle'.'vehicle_id' where 'imt_gammaauctionengine_auction_vehicle'.'auction_id' = 3 and is_expert_reported = 1 and is_consultant_approved = 1 and 'id' = 5 and 'imt_gammaoperationengine_vehicles'.'deleted_at' is null limit 1)" on line 664 of ...