[Vtigercrm-commits] [vtiger development] #4675: setting up criteria for Related To field in calendar advanced filter, shows failed query .
vtiger development
vtiger-tickets at trac.vtiger.com
Sat Dec 15 02:14:22 EST 2007
#4675: setting up criteria for Related To field in calendar advanced filter, shows
failed query .
-----------------------+----------------------------------------------------
Reporter: bharathi | Owner: developer
Type: defect | Status: new
Priority: blocker | Milestone:
Component: vtigercrm | Version: 5.0.4
Keywords: |
-----------------------+----------------------------------------------------
create a custom view in calendar and set criteria and values for Related
To field in Advanced filter. Then it will show the following error.
'''
ADODB error Query Failed:select count(*)
count,vtiger_activity.activitytype FROM vtiger_activity LEFT JOIN
vtiger_cntactivityrel ON vtiger_cntactivityrel.activityid =
vtiger_activity.activityid LEFT JOIN vtiger_contactdetails ON
vtiger_contactdetails.contactid = vtiger_cntactivityrel.contactid LEFT
JOIN vtiger_activitygrouprelation ON
vtiger_activitygrouprelation.activityid = vtiger_activity.activityid LEFT
JOIN vtiger_groups ON vtiger_groups.groupname =
vtiger_activitygrouprelation.groupname LEFT OUTER JOIN
vtiger_activity_reminder ON vtiger_activity_reminder.activity_id =
vtiger_activity.activityid LEFT JOIN vtiger_crmentity ON
vtiger_crmentity.crmid = vtiger_activity.activityid LEFT JOIN vtiger_users
ON vtiger_users.id = vtiger_crmentity.smownerid WHERE
vtiger_crmentity.deleted = 0 and (vtiger_crmentity.smownerid in(3) or
vtiger_crmentity.smownerid in(select vtiger_user2role.userid from
vtiger_user2role inner join vtiger_users on
vtiger_users.id=vtiger_user2role.userid inner join vtiger_role on
vtiger_role.roleid=vtiger_user2role.roleid where vtiger_role.parentrole
like 'H1::H6::%') or (vtiger_crmentity.smownerid in (0) and
(vtiger_groups.groupid in (4)))) and (vtiger_account.accountname like
'%How to automatically%' or concat(vtiger_leaddetails.lastname,'
',vtiger_leaddetails.firstname) like '%How to automatically%' or
vtiger_troubletickets.title like '%How to automatically%') group by
vtiger_activity.activityid having vtiger_activity.activitytype != "Emails"
ORDER BY vtiger_activity.due_date DESC::->Unknown column
'vtiger_account.accountname' in 'where clause''''
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4675>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list