NCIOCPL / clinical-trials-search-app

Clinical Trial Search Front-end
1 stars 6 forks source link

Search results displaying incorrect ages #608

Closed sarinapadilla closed 1 year ago

sarinapadilla commented 1 year ago

Issue description

The search results page is displaying trial ages incorrectly for any age that includes months. We need to update this to display the min_age_number with min_age_unit when the unit is months rather than years. There is also some extra logic for determining if the age is just over a certain number of years...have to consider that as well.

ESTIMATE TBD

Steps to reproduce the issue

  1. Go to advanced search form
  2. Enter age "1" and keyword "dabrafenib"
  3. Click "Find Trials"

What's the expected result?

What's the actual result?

Additional details / screenshot

Screenshot 2023-02-02 at 10 10 15 AM