[Vtigercrm-commits] [vtiger development] #5794: Query failed after click at "Access Counts"
vtiger development
vtiger-tickets at trac.vtiger.com
Tue Apr 7 07:09:47 EDT 2009
#5794: Query failed after click at "Access Counts"
-----------------------+----------------------------------------------------
Reporter: rashmi | Owner: developer
Type: defect | Status: new
Priority: major | Milestone: 5.1.0
Component: vtigercrm | Version: 5.1.0-val1
Keywords: |
-----------------------+----------------------------------------------------
In Contacts More-> Information Field-> Emails-> Add a email then click at
"Access Counts" to sort records, Query is getting failed:
Query Failed:select case when (vtiger_users.user_name not like '') then
vtiger_users.user_name else vtiger_groups.groupname
end as user_name, vtiger_activity.activityid, vtiger_activity.subject,
vtiger_activity.activitytype, vtiger_crmentity.modifiedtime,
vtiger_crmentity.crmid, vtiger_crmentity.smownerid,
vtiger_activity.date_start, vtiger_seactivityrel.crmid as parent_id from
vtiger_activity, vtiger_seactivityrel, vtiger_contactdetails,
vtiger_users, vtiger_crmentity left join vtiger_groups on
vtiger_groups.groupid=vtiger_crmentity.smownerid where
vtiger_seactivityrel.activityid = vtiger_activity.activityid and
vtiger_contactdetails.contactid = vtiger_seactivityrel.crmid and
vtiger_users.id=vtiger_crmentity.smownerid and
vtiger_crmentity.crmid = vtiger_activity.activityid and
vtiger_contactdetails.contactid = 23 and
vtiger_activity.activitytype='Emails' and vtiger_crmentity.deleted = 0
ORDER BY vtiger_email_track.access_count ASC LIMIT
0, 10::ADODB error Query Failed:select case when (vtiger_users.user_name
not like '') then vtiger_users.user_name else
vtiger_groups.groupname end as user_name, vtiger_activity.activityid,
vtiger_activity.subject, vtiger_activity.activitytype,
vtiger_crmentity.modifiedtime, vtiger_crmentity.crmid,
vtiger_crmentity.smownerid, vtiger_activity.date_start,
vtiger_seactivityrel.crmid as parent_id from vtiger_activity,
vtiger_seactivityrel, vtiger_contactdetails, vtiger_users,
vtiger_crmentity left join vtiger_groups on
vtiger_groups.groupid=vtiger_crmentity.smownerid where
vtiger_seactivityrel.activityid
= vtiger_activity.activityid and vtiger_contactdetails.contactid =
vtiger_seactivityrel.crmid and
vtiger_users.id=vtiger_crmentity.smownerid and vtiger_crmentity.crmid =
vtiger_activity.activityid and
vtiger_contactdetails.contactid = 23 and
vtiger_activity.activitytype='Emails' and vtiger_crmentity.deleted = 0
ORDER BY
vtiger_email_track.access_count ASC LIMIT 0, 10::->Unknown column
'vtiger_email_track.access_count' in 'order clause'
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/5794>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list