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

Taxonomy Term not importing #137

Open
royappa opened this issue Mar 10, 2024 · 6 comments
Open

Taxonomy Term not importing #137

royappa opened this issue Mar 10, 2024 · 6 comments

Comments

@royappa
Copy link

royappa commented Mar 10, 2024

In the sample HSDS3 Airtable provided, I added the existing taxonomy term "Hospital Treatment" to my Service and then did an Import.

Expected behavior:
a. The "Types of Services" dropdown should show "Hospital Treatment"
Example, the dropdown in this page populates with the taxonomy terms: https://resources.mutualaid.nyc/services
b. The Service record should show "Service Category: [Hospital Treatment]" on the /services page
Example, the service "Affordable Housing Resources and Tenant Advocacy" should show the "[Housing]" tag with some color, and also in the service page itself, like this: https://resources.mutualaid.nyc/services/916122105275207

Actual behavior: The taxonomy term "Hospital Treatment" is not appearing in the "Types of Services" or in the service description as a colored tag.

@d9it
Copy link
Collaborator

d9it commented Mar 11, 2024

"Hospital Treatment" is not displayed under "Types of Services" because it is not a parent term. Only parent terms are shown under "Types of Services".

@royappa
Copy link
Author

royappa commented Mar 11, 2024

OK, but the "parent" and "grandparent" terms are not shown either.
"Hospital Treatment" has parent term of "Prevent & Treat"
But the "Types of Services" does not show that parent term (or anything - the dropdown is completely empty).

image
image

@royappa
Copy link
Author

royappa commented Mar 11, 2024

Also "Prevent & Treat" has no parent, I don't know if that makes a difference or not.

image

@d9it
Copy link
Collaborator

d9it commented Mar 11, 2024

Not now, just the main parent.

@royappa
Copy link
Author

royappa commented Mar 11, 2024

I don't understand, can you tell me how to make anything show in the "Types of Services" dropdown on the Services page?

@d9it
Copy link
Collaborator

d9it commented Mar 11, 2024

This means that only records without a parent are considered the main parent, and we display only that record. "Prevent & Treat" has no parent record, so it will be on the "Types of Services" dropdown, while others are not. Understand?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants