-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Agent and Contact list view not able to shown #1284
Comments
|
I can see |
User full name is present in DB level, and I installed fresh version 14, but the same error occurred. |
After I did some investigate I found that the errors caused by following SQL Builder produces the wrong output. Contact: SQL looks like this SELECT
`name`,`email_id`,`image`,`phone`,`tabContact`.`first_name`,`tabContact`.`last_name`,`tabContact Email`.`email_id`,`tabContact Phone`.`phone`,`tabDynamic Link`.`link_name`
FROM `tabContact`
LEFT JOIN `tabContact Email`
ON `tabContact Email`.`parent`=`tabContact`.`name`
LEFT JOIN `tabContact Phone`
ON `tabContact Phone`.`parent`=`tabContact`.`name`
LEFT JOIN `tabDynamic Link`
ON `tabDynamic Link`.`parent`=`tabContact`.`name`
ORDER BY `tabContact`.`modified` DESC,`tabContact`.`modified` DESC LIMIT 20 As you can see name, email_id, image, and phone fields are ambiguous. Agent: SQL looks like this. SELECT `name`,`is_active`,`user.full_name`,`user.user_image`,`user.email`,`user.username`
FROM `tabHD Agent`
ORDER BY `modified` DESC,`modified` DESC LIMIT 20 As you can see there are |
Is there any solution for that? |
PR Created on #1308, please check it out. |
Should be fixed with 24937ad |
pymysql.err.OperationalError: (1054, "Unknown column 'user.full_name' in 'field list'")
The text was updated successfully, but these errors were encountered: