fix merge with

This commit is contained in:
j 2019-07-23 17:52:23 +02:00
parent 87de67be98
commit e8a13b4e4d

View file

@ -389,6 +389,7 @@ class Item(models.Model):
if q.count() != 0: if q.count() != 0:
if utils.is_imdb_id(self.public_id): if utils.is_imdb_id(self.public_id):
self.oxdbId = None self.oxdbId = None
self.update_sort()
q[0].merge_with(self, save=False) q[0].merge_with(self, save=False)
else: else:
n = 1 n = 1