Skip to content

AO3-5701 AO3-6331 Reindex works and bookmarks when a collection's parent changes#5816

Open
Smuzzy-waiii wants to merge 2 commits into
otwcode:masterfrom
Smuzzy-waiii:AO3-5701-AO3-6331-move-subcollection-item-when-parent-changes
Open

AO3-5701 AO3-6331 Reindex works and bookmarks when a collection's parent changes#5816
Smuzzy-waiii wants to merge 2 commits into
otwcode:masterfrom
Smuzzy-waiii:AO3-5701-AO3-6331-move-subcollection-item-when-parent-changes

Conversation

@Smuzzy-waiii
Copy link
Copy Markdown

Pull Request Checklist

Issue

https://otwarchive.atlassian.net/browse/AO3-5701
https://otwarchive.atlassian.net/browse/AO3-6331

Purpose

Reindex works and bookmarks when collection parent changes

Works and bookmarks index parent collection IDs in Elasticsearch. When a collection is added to or removed from a parent collection, associated Elasticsearch documents are not updated, causing stale collection search results.

This change reindexes affected works and bookmarks whenever a collection's parent_id changes.

Credit

Smaran Jawalkar (he/him)

…ent changes

Reindex works and bookmarks when collection parent changes

Works and bookmarks index parent collection IDs in Elasticsearch.
When a collection is added to or removed from a parent collection,
associated Elasticsearch documents are not updated, causing stale
collection search results.

This change reindexes affected works and bookmarks whenever a
collection's parent_id changes.
@Smuzzy-waiii Smuzzy-waiii marked this pull request as ready for review May 13, 2026 21:19
@Smuzzy-waiii
Copy link
Copy Markdown
Author

@sarken Could you please set the tickets to In-Review/In-Progress as I don't have Jira perms yet? 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant