Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explorer: Parent Autocomplete Dropdown Missing Labels #913

Open
rrowlands opened this issue Jul 7, 2023 · 2 comments
Open

Explorer: Parent Autocomplete Dropdown Missing Labels #913

rrowlands opened this issue Jul 7, 2023 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@rrowlands
Copy link
Contributor

List the CGR information

  • CGR version:
  • CGR instance (e.g. a URL):

Describe the bug (clear and concise)
There are times when the labels for the search autocomplete for parents is missing labels. In the past this has been an issue with the label not existing at the date which is being queried, however that is not the case here because I have verified that the label does exist at the date in question. Additionally, when an object in the autocomplete dropdown is selected, the label is populated correctly into the field by the system. This appears to happen on some objects and not others, so it could potentially be something specific to do with the data in question.

To Reproduce

  1. Open the lists
  2. Under "Ministry of Health" org, select "Health Facility (Laos)".
  3. Open the list for the most recent version
  4. View the object in the explorer for "Mittaphap Hospital", H0168
  5. Open the hierarchies tab
  6. Edit
  7. Click X on District for the "Health Facility Management Hierarchy (Laos)" hierarchy
  8. Click on the now empty) District input field

An autocomplete with missing labels appears.

Screenshots
image

Desktop (please complete the following information):
Happening on staging

@rrowlands rrowlands added the bug Something isn't working label Jul 7, 2023
@rrowlands
Copy link
Contributor Author

OK this issue only happens in the scenario where the parent's display label is not one contiguous block in the time range for the relationship. The parent district's label is defined as:

image

Fix committed as 75742fe and pushing to staging.

@rrowlands rrowlands moved this to 👀 In review in GeoPrism Registry Board Jul 7, 2023
@rrowlands rrowlands added this to the 1.2.3 milestone Jul 7, 2023
@rfromthecastle
Copy link

Fix working on Staging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 👀 In review
Development

No branches or pull requests

2 participants