# Data explorer group report - parameter bug

**URL:** <https://meta.discourse.org/t/data-explorer-group-report-parameter-bug/249525>\
**Category:** Bug\
**Tags:** data-explorer\
**Created:** [December 20, 2022, 9:30pm UTC](https://meta.discourse.org/t/data-explorer-group-report-parameter-bug/249525 "2022-12-20T21:30:20Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![piffy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/piffy/32/254198_2.png) [@piffy](https://meta.discourse.org/u/piffy)\
**Post date:** [December 20, 2022, 9:30pm UTC](https://meta.discourse.org/t/data-explorer-group-report-parameter-bug/249525/1 "2022-12-20T21:30:20Z")

</div>

I just updated to the latest version of the [Data Explorer](https://meta.discourse.org/t/32566?silent=true) before posting this and I can confirm this issue is still present for me.

On the [data explorer](https://meta.discourse.org/t/32566?silent=true) plugin there’s a feature that lets you expose queries to groups. I have done this for the query that counts consecutive days visited because I have users desperate to know how close they are to the xxx days visited badges.

 ![image](https://global.discourse-cdn.com/meta/original/4X/a/9/4/a940e83234e5e0e55d9527fa3aa58d69046bae41.png)

This was working until recently. Now I get this error.

 ![image](https://global.discourse-cdn.com/meta/original/4X/6/7/5/675259201cc838472f478333868e0070df81459b.png)

The error seems to be caused by the request being sent (here I am showing the network inspector on firefox):  
 ![image](https://global.discourse-cdn.com/meta/original/4X/9/f/8/9f84e614cd37309df658275eabb4d7e338707986.png)

It appears to not be updating the parameter values as they are being entered (`username=null`, `min_days=10` are the default parameters when you load the page). The console also gives an error “Uncaught TypeError: t is undefined” when either entering text into the `username` box or changing the `min_days` value. This line is throwing the error:

> <https://github.com/discourse/discourse-data-explorer/blob/8028b9f16a33553bd3a6e1955ced98f15843cb77/assets/javascripts/discourse/components/param-input.js#L170>

This is the best I can do of tracing the issue short of forking the repo and debugging each line. Just wanted to report the issue and also curious if others have the same problem.

---

_[View the full topic](https://meta.discourse.org/t/data-explorer-group-report-parameter-bug/249525)._
