Skip to content

Commit

Permalink
fix: Index full object after move it
Browse files Browse the repository at this point in the history
  • Loading branch information
rboixaderg committed Nov 28, 2023
1 parent 8f85a12 commit 99e0f34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
CHANGELOG
=========

6.4.5 (unreleased)
6.4.5 (2023-11-28)
------------------

- Nothing changed yet.
- Fix: Index full object after move it
[rboixaderg]


6.4.4 (2023-11-20)
Expand Down
3 changes: 2 additions & 1 deletion guillotina/catalog/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ async def __call__(self):
async def reindex_security(self, obj):
reindex_in_future(obj, True)

index_object_move = reindex_security
async def index_object_move(self, obj):
reindex_in_future(obj)

async def remove_object(self, obj):
self.remove.append(obj)
Expand Down

0 comments on commit 99e0f34

Please sign in to comment.