[Vtigercrm-developers] bug in chart report
Manu urs
manu.k at vtiger.com
Wed Jul 15 13:39:05 GMT 2015
Hi
To fix the the above <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8602>
issue.
In modules/Reports/models/Chart.php replace Line no 280 with
> $listURL = $primaryModuleModel->getListViewUrlWithAllFilter();
>
and add the below two api's to modules/Vtiger/models/Module.php
public function getListViewUrlWithAllFilter(){
> return
> $this->getListViewUrl().'&viewname='.$this->getAllFilterCvidForModule();
> }
>
>
> public function getAllFilterCvidForModule() {
> $db = PearDatabase::getInstance();
>
> $result = $db->pquery("SELECT cvid FROM vtiger_customview WHERE
> viewname = 'All' AND entitytype = ?",
> array($this->getName()));
> if ($db->num_rows($result)) {
> return $db->query_result($result, 0, 'cvid');
> }
> return false;
> }
>
>
Regards
Manu Urs
On Wed, Jul 15, 2015 at 5:00 PM, Alan Lord <alanslists at gmail.com> wrote:
> On 15/07/15 12:09, Simone Travaglini wrote:
>
>> Thanks can you give feedback on list when resolved?
>>
>
> You can also just add yourself to the cc of the bug - then you get an
> email when anyone updates the bug report.
>
> HTH
>
> Al
>
>
> _______________________________________________
> http://www.vtiger.com/
>
--
Regards,
Manu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150715/22281666/attachment.html>
More information about the vtigercrm-developers
mailing list