Skip to content

Commit

Permalink
fix index title in trash bin
Browse files Browse the repository at this point in the history
  • Loading branch information
cir9no committed Jan 2, 2025
1 parent 74a72fc commit 2e87d37
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion seasearch/index_store/wiki_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,9 @@ def update(self, index_name, wiki_id, old_commit_id, new_commit_id):
is_wiki_conf_modified = any(wiki_conf_path == tup[0].lstrip('/') for tup in need_added_files)

if is_wiki_conf_modified:
need_updated_title_uuids = self.get_updated_title_uuids(old_cfg, new_cfg)
updated_title_uuids = self.get_updated_title_uuids(old_cfg, new_cfg)
#Remove the uuids that are in the recycle bin
need_updated_title_uuids = updated_title_uuids.difference_update(curr_recycled_uuid_paths.keys())
else:
need_updated_title_uuids = set()

Expand Down

0 comments on commit 2e87d37

Please sign in to comment.