fix clips query for smart edits

This commit is contained in:
j 2014-02-06 14:22:53 +00:00
parent a64c8d612b
commit db06621528

View file

@ -201,6 +201,7 @@ class Edit(models.Model):
clips = self.clips.all()
else:
clips = clip.models.Clip.objects.find({'query': self.clip_query()}, user)
clips = clips.filter(item__in=self.get_items(user))
return clips
def get_clips_json(self, user=None):