From db066215286aae427a2d292247bee45524cbc22b Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 6 Feb 2014 14:22:53 +0000 Subject: [PATCH] fix clips query for smart edits --- pandora/edit/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandora/edit/models.py b/pandora/edit/models.py index 56b49d4e..1b7ba5a8 100644 --- a/pandora/edit/models.py +++ b/pandora/edit/models.py @@ -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):