Commit 9986bab0 authored by Michal Čihař's avatar Michal Čihař

Need to update all index on source string change

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 67240cf4
......@@ -670,9 +670,9 @@ class Unit(models.Model, LoggerMixin):
fuzzy=True,
previous_source=previous_source,
)
# Update source index, it's enough to do it for one as we index by
# checksum which is same for all
update_index_unit(self, True)
# Update source index
for unit in same_source.interator():
update_index_unit(unit, True)
def generate_change(self, request, author, oldunit, change_action):
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment