Skip to main content
Topic: 1052 Column 'is_deleted' in where clause is ambiguous (Read 2555 times) previous topic - next topic

1052 Column 'is_deleted' in where clause is ambiguous

Dear Guys,

I am using Classic 2.7.3 and i'm trying to join tables with "Record SoftDelete" fields but I get this error below when viewing the list
Code: [Select]
1052 Column 'is_deleted' in where clause is ambiguous

Thanks,



Re: 1052 Column 'is_deleted' in where clause is ambiguous

Reply #3
@jp26198926‍ after configuring the join please unselect duplicate field from the list of fields that appears on the list page you are working on.


Re: 1052 Column 'is_deleted' in where clause is ambiguous

Reply #5
Hi Willvin,

I was able to override the error by manually editing the __construct method of the page controller, see attached screenshot.
But ofcourse this is not a convenient way since if i will do re publish again thru phprad gui the edited code will be overwritten.

https://drive.google.com/file/d/1-DiDjEFt3qRjkS9kpITi7wSfD7sXtt3-/view?usp=sharing

Thanks,

 

Re: 1052 Column 'is_deleted' in where clause is ambiguous

Reply #6
Thanks for this insight. We will surely implement it.