← Back to team overview

dhis2-devs team mailing list archive

Re: Event Reports/ Visualizer: applying a filter for Data Elements of type Y/N removes all records on event reports

 

Hi Rodolfo,

confirmed. Fixed now in 2.22 (rev 22027) -> trunk.

regards,

Lars

On Fri, May 6, 2016 at 7:51 PM, Rodolfo Melia <rmelia@xxxxxxxxxxxx> wrote:

> Tested on DHIS 2.22/ r 22016, 2.20 r22027 and 2.23 r22905
> You can try this at play.dhis2
> <https://play.dhis2.org/demo/dhis-web-event-reports/index.html>
>
> *Problem*: when a Data Element (tracker) of type Yes/No is used to filter
> the data in Event Reports or Event Visualiser, nothing gets returned.
>
> *Exhibit 1:* Event Report, *no filters* applied: *data is displayed
> correctly*
> [image: Inline images 1]
>
>
> *Exhibit 2:* Event Report, *filters applied*: *One of "Yes"* *- no data
> is returned*
> [image: Inline images 4]
>
> *Details of the data element used for the example above: * MCH BCG dose
> <https://play.dhis2.org/demo/dhis-web-maintenance/#/edit/dataElementSection/dataElement/bx6fsa0t90x?_k=5bk7wv>
>  (any Yes/No data element will show the same problem)
> [image: Inline images 3]
>
>
> Rodolfo
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
lars@xxxxxxxxx
http://www.dhis2.org <https://www.dhis2.org/>

PNG image

PNG image

PNG image


Follow ups

References