files might need moving after metadata change
This commit is contained in:
parent
2dbe65721c
commit
d602191557
1 changed files with 2 additions and 0 deletions
|
@ -406,6 +406,8 @@ class Item(db.Model):
|
|||
record[key] = self.meta[key] = [] if key in self.array_keys else ''
|
||||
self.update(sync_modified)
|
||||
self.save()
|
||||
for f in self.files.all():
|
||||
f.move()
|
||||
user = state.user()
|
||||
if record and user in self.users:
|
||||
Changelog.record(user, 'edititem', self.id, record, _ts=self.modified)
|
||||
|
|
Loading…
Reference in a new issue