Skip to content

Commit

Permalink
Fix a typo in a a call to reindexObject
Browse files Browse the repository at this point in the history
Fixes #101
  • Loading branch information
ale-rt committed Mar 10, 2022
1 parent 952e2bc commit 93f4d22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions news/101.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix a typo in a a call to reindexObject
2 changes: 1 addition & 1 deletion plone/app/iterate/browser/checkout.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def __call__(self):

# we do this for metadata update side affects which will update
# lock info
context.reindexObject("review_state")
context.reindexObject(idxs=["review_state"])

IStatusMessage(self.request).addStatusMessage(
_("Check-out created"), type="info"
Expand Down

0 comments on commit 93f4d22

Please sign in to comment.