KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Visual Query for Dashboards filter bug. #3464

Open Amr Abdelaal opened this topic on on Nov 17 - 2 comments

Amr Abdelaal commented on Nov 17

When I add two filters, the value of the second one is not filled, and it is ''

Sebastian Morales commented on Nov 21

We can confirm this is a bug with VisualQuery input when used with Dashboard. We will issue a fix the next version of KoolReport. Meanwhile you could apply the following quick fix by opening the file {path to}/koolreport/visualquery/assets/js/visualquery.js and go to this part:

    vq.getInputValues = function () {
        ...
        inputs.forEach(function (input) {

then add the following line:

    vq.getInputValues = function () {
        ...
        inputs.forEach(function (input) {
            if (input.disabled) return; // add this line

Let us know how it works for you.

Amr Abdelaal commented 1 day ago

It works in the test environment, but it will be hard to implement in production with the composer approach.

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
bug

Dashboard