Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

Custom Object column filter on Report Model method getDataHTML

$
0
0

Topic by James Phelps

Content

Hi all,

Struggling with a problem here when utilizing the native Report_model and its method getDataHTML.

I'm constructing a call to the method, and building filters as I go along, for e.g. I have an organization ID filter which is like this:

$filters["organization_id"] = $this->Report_model->createSearchFilter($report_id, "organization_id", 1, (int) $_GET["supplier"], $rnSearchType = "filter", 1);

This works perfectly fine. However when I try and do the same thing on a custom object column (which is also setup as a filter on my report and named appropriately, just like organization ID) it returns no data.

        $filters["survey_id"] = $this->Report_model->createSearchFilter($report_id, "survey_id", 1, $survey_id, $rnSearchType = "filter", 1);

 

The same value I'm testing on the console its self on the report and is working fine.

Does anyone have any advice on how to use custom object columns on this getDataHTML method?

Thanks a lot for any help.

James.

Version

February 2014 Build 131

Code Block


Viewing all articles
Browse latest Browse all 2504

Trending Articles