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 association syncing #2684

Closed
wants to merge 2 commits into from
Closed

Conversation

jasonvarga
Copy link
Member

When you're editing an entry in the CP and add a new term to it, it wouldn't show the title until you clear the cache.

This is because when we sync the associations, we were only pushing the new title. The ID was never being inserted into the index. So when you queried for terms by ID later (e.g. through a terms fieldtype) it couldn't find the ID in the index.

Now, instead of explicitly updating only the uri and title indexes, it just updates any that are required.

Fixes #1982

@jasonvarga jasonvarga marked this pull request as ready for review October 19, 2020 22:03
@jasonvarga jasonvarga closed this Oct 19, 2020
@jasonvarga jasonvarga mentioned this pull request Oct 19, 2020
@jasonvarga jasonvarga deleted the fix/taxonomy-term-sync branch November 19, 2020 16:08
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

Successfully merging this pull request may close these issues.

New taxonomy requires manual cache refresh to show title
1 participant