ImagingDataCommons / IDC-WebApp

Web Application front end for IDC (CORE REPO)
Apache License 2.0
6 stars 2 forks source link

Prod tier - When filters for modality 'ALL' are selected for certain studies/filters, there is a count inaccuracy #1053

Open pgundluru opened 2 years ago

pgundluru commented 2 years ago

This issue was observed on 09-15-2022

When a user selects certain modality filters there are inaccurate counts being noted in the filter definition. Eg Modality filters Radiography and digital radiography have incorrect counts for ANY and incorrect counts for ALL as shown below image

Another example is CT an PET.

s-paquette commented 2 years ago

This involves a fix to faceted counts; specifically, any time AND is used in the filters, that facet must be counted against itself, rather than avoiding that as is usually done with OR.