PHI-base / PHI5_web_display

PHI5_web_display will allow to display PHI-Canto data
1 stars 0 forks source link

Advanced Search for annotation type is not working #58

Closed jseager7 closed 1 year ago

jseager7 commented 1 year ago

On the Advanced Search page, there is a field for filtering by annotation type (e.g. Pathogen Phenotype, Wild-type expression level, and so on).

image

However, the field doesn't seem to apply any filtering to the search results. The results stay at 95 results regardless of which annotation type is selected.

The field should filter the results to only those genes which have at least one of the selected annotation type.

jashobanta-mcpl commented 1 year ago

It's implemented in combination of annotation type AND ( Annotation Extension Type OR Annotation Extension Term) OR all three in AND condition .

Please let us know if we need to change the implemention .

jseager7 commented 1 year ago

In the last meeting we decided that the Annotation Type should be searchable without specifying any other fields. So, for example, if the user selects "Wild-type expression level", then only those genes with at least one Wild-type expression level annotation should be returned.

jashobanta-mcpl commented 1 year ago

Search by "Annotation Type" is implemented as per the requirement .

jseager7 commented 1 year ago

Confirmed as fixed.