# Problem with Presentation Drilldown Link vs Popup

**URL:** <https://community.spicecrm.io/t/problem-with-presentation-drilldown-link-vs-popup/595>\
**Category:** KReporter\
**Created:** [February 27, 2021, 6:57pm UTC](https://community.spicecrm.io/t/problem-with-presentation-drilldown-link-vs-popup/595 "2021-02-27T18:57:59Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dianna](https://avatars.discourse-cdn.com/v4/letter/d/ce73a5/32.png) [@dianna](https://community.spicecrm.io/u/dianna)\
**Post date:** [February 27, 2021, 6:57pm UTC](https://community.spicecrm.io/t/problem-with-presentation-drilldown-link-vs-popup/595/1 "2021-02-27T18:57:59Z")

</div>

We are using KReports version 3.1 (licensed) in SuiteCRM and have been having a problem with our drilldown report that used to be working just fine. Our drilldown is set as a link and when we select the drilldown report it is no longer passing the filter to the subreport and the result is that you see all of the information in the report unfiltered.

However, when we set the linktype to Popup, we get the filtered information that we want in the popup window. We don’t like having to scroll the narrow popup so we really want to get the link working again.

In looking at the code in pluginkpdrilldowncontroller.php, I see that a parameter called dynamicoptions is being passed to the subreport and the data in that parameter is json encoded. I captured this encoded para and found that online decoders don’t seem to be able to decode it at all. But maybe I just know how to use them?

It seems like the popup version and the link version are both being json encoded/decoded but only the link version is having a problem filtering properly.

I tried to remove the json encoding/decoding to see if I could get it to work but that seemed to break everything.

Any help would be appreciated.  
Thanks,.  
Dianna

---

<div class="post-metadata">

**Author:** ![maretval](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@maretval](https://community.spicecrm.io/u/maretval)\
**Post date:** [February 27, 2021, 7:26pm UTC](https://community.spicecrm.io/t/problem-with-presentation-drilldown-link-vs-popup/595/2 "2021-02-27T19:26:00Z")

</div>

Dianna,  
if KReporter drilldown used to work, what happened? Was any update of SuiteCRM done?  
Which version is it?

---

<div class="post-metadata">

**Author:** ![dianna](https://avatars.discourse-cdn.com/v4/letter/d/ce73a5/32.png) [@dianna](https://community.spicecrm.io/u/dianna)\
**Post date:** [February 27, 2021, 7:43pm UTC](https://community.spicecrm.io/t/problem-with-presentation-drilldown-link-vs-popup/595/3 "2021-02-27T19:43:59Z")

</div>

No update. We are still using SuiteCRM version 7.8.31 which is several years old. I suspect a HTML/browser change??  
Another aspect of this that I forgot to mention…I see the correct filter in the populated in the Search/Filter Criteria and if we reinvoke the filters, we get the correctly filtered data.  
Thanks,  
Dianna

---

<div class="post-metadata">

**Author:** ![maretval](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@maretval](https://community.spicecrm.io/u/maretval)\
**Post date:** [February 27, 2021, 8:11pm UTC](https://community.spicecrm.io/t/problem-with-presentation-drilldown-link-vs-popup/595/4 "2021-02-27T20:11:15Z")

</div>

Just to make sure: you didn’t check the “on user request”, did you?

 ![grafik](https://canada1.discourse-cdn.com/flex030/uploads/spicecrm/original/1X/8b14f18ac3fcde691dcfacacad0a6c2345fd3d4d.png)

---

<div class="post-metadata">

**Author:** ![dianna](https://avatars.discourse-cdn.com/v4/letter/d/ce73a5/32.png) [@dianna](https://community.spicecrm.io/u/dianna)\
**Post date:** [February 27, 2021, 8:27pm UTC](https://community.spicecrm.io/t/problem-with-presentation-drilldown-link-vs-popup/595/5 "2021-02-27T20:27:29Z")

</div>

Here are the settings, The same for both reports.

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/spicecrm/original/1X/424d6e8037d0ec05b73b9fde736374962a667c2b.png)

---

<div class="post-metadata">

**Author:** ![maretval](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@maretval](https://community.spicecrm.io/u/maretval)\
**Post date:** [February 27, 2021, 8:41pm UTC](https://community.spicecrm.io/t/problem-with-presentation-drilldown-link-vs-popup/595/6 "2021-02-27T20:41:34Z")

</div>

How many filters / which filters do you have for your drill down report?  
Mine is working fine on s SugarCRM CE 6.5.23  
My report si an account list with opportunities list as a dropdown on each account  
I only have 1 filter on account id

---

<div class="post-metadata">

**Author:** ![dianna](https://avatars.discourse-cdn.com/v4/letter/d/ce73a5/32.png) [@dianna](https://community.spicecrm.io/u/dianna)\
**Post date:** [February 27, 2021, 9:32pm UTC](https://community.spicecrm.io/t/problem-with-presentation-drilldown-link-vs-popup/595/7 "2021-02-27T21:32:49Z")

</div>

My reports have several filters (8 in the main report and 6 in the drill down report) These are saved with the report. There is a single filter being mapped between these reports and it is a product name. So the report use can see totals in the main report and select the row of a particular product to see all of the detail that made up the total.
