[Vtigercrm-commits] [vtiger development] #4899: Customreports Helpdesk - colmn 'Entity-type' can't be disabled
vtiger development
vtiger-tickets at trac.vtiger.com
Mon Jan 14 05:07:14 EST 2008
#4899: Customreports Helpdesk - colmn 'Entity-type' can't be disabled
-------------------------+--------------------------------------------------
Reporter: dinoeberle | Owner: mickie
Type: defect | Status: new
Priority: critical | Milestone: 5.0.4
Component: vtigercrm | Version: 5.0.4-rc
Resolution: | Keywords:
-------------------------+--------------------------------------------------
Changes (by mickie):
* cc: dinoeberle (removed)
Comment:
If you want to remove this column during report run, then you can do the
following
file : modules/Reports/ReportRun.php
function : getEscapedColumns
line : 212
remove
{{{
, vtiger_crmentityRelHelpDesk.setype 'Entity_type'
}}}
at the end of this line
ie., change the line from
{{{
$querycolumn = "case vtiger_crmentityRelHelpDesk.setype when 'Accounts'
then vtiger_accountRelHelpDesk.accountname when 'Contacts' then
concat(vtiger_contactdetailsRelHelpDesk.lastname,'
',vtiger_contactdetailsRelHelpDesk.firstname) End"."
'".$selectedfields[2]."', vtiger_crmentityRelHelpDesk.setype
'Entity_type'";
}}}
to
{{{
$querycolumn = "case vtiger_crmentityRelHelpDesk.setype when 'Accounts'
then vtiger_accountRelHelpDesk.accountname when 'Contacts' then
concat(vtiger_contactdetailsRelHelpDesk.lastname,'
',vtiger_contactdetailsRelHelpDesk.firstname) End"."
'".$selectedfields[2]."'";
}}}
Hope this helps. But we cannot integrate this to the product.
If it is necessary to do this in product then let us know.
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4899#comment:3>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list