← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 384766] Re: poor filtering

 

This happened on localhost. It is not that it loads more elements which
fit the filtering, but that it somehow resets the filtering. All elements
are then shown, and the filtering is somehow reset, but showing what I
entered before. If I start with writing "mal" it may show all those with
mal in them, and then suddenly, on typing "a" it resets to the whole list,
and when I continue with "ria" it will filter again on only "ria", even if
the full word malaria shows in the filterfield.

It seems to work fine when I filter on the data element page, but not when
I filter the list when making validation or indicator expressions.
Johan

> I presume this happened on a remote server on a somewhat slow line? The
> problem is that the list is initially not fully loaded. You enter a few
> characters to search for which will immediately update the list. Then
> the list keeps loading all elements and gives the impression of going
> back to the full list. This is not a problem on fast lines or localhost.
>
> Maybe we shoud block the filter until the list is fully loaded?
>
> ** Changed in: dhis2
>     Milestone: 2.0.2 => None
>
> --
> poor filtering
> https://bugs.launchpad.net/bugs/384766
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in District Health Information Software 2: New
>
> Bug description:
> When adding left and right side expressions for validation rules, the
> filtering of data elements first show the filtered list, then immediately
> jumps back to the full list. You will have make changes to the filering
> again for it to take effect. Example; I want to filter on Penta3. I write
> that, get 1-2 seconds of the correct filtered list showing, before the
> full list is again showed, even if it says Penta3 in the filter box. I
> delete the 3, so it only shows Penta. The list is updated correctly. If I
> then add 3 again, it works fine. Seems like the filtering is reset if I
> somehow write a bit fast
>
> Update; the same happens in the filter for numerator and denominator. It
> did not even pick up a few data elements at all. I had to find the data
> element I wanted in another indicator, and copy the indicator number from
> the expression window. This new indicator looked fine, but was not
> exported in the data mart, so maybe there is something else wrong with
> that particular thing, but anyway the filtering works poorly
>

-- 
poor filtering
https://bugs.launchpad.net/bugs/384766
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.

Status in District Health Information Software 2: New

Bug description:
When adding left and right side expressions for validation rules, the filtering of data elements first show the filtered list, then immediately jumps back to the full list. You will have make changes to the filering again for it to take effect. Example; I want to filter on Penta3. I write that, get 1-2 seconds of the correct filtered list showing, before the full list is again showed, even if it says Penta3 in the filter box. I delete the 3, so it only shows Penta. The list is updated correctly. If I then add 3 again, it works fine. Seems like the filtering is reset if I somehow write a bit fast

Update; the same happens in the filter for numerator and denominator. It did not even pick up a few data elements at all. I had to find the data element I wanted in another indicator, and copy the indicator number from the expression window. This new indicator looked fine, but was not exported in the data mart, so maybe there is something else wrong with that particular thing, but anyway the filtering works poorly



References