From 83765d91d8e2d63494890f11cc09832ab491d11f Mon Sep 17 00:00:00 2001 From: j Date: Thu, 15 Nov 2018 11:18:00 +0000 Subject: [PATCH] item should only be loaded if item is joined, disable for now --- pandora/clip/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/clip/views.py b/pandora/clip/views.py index b37427c2..df2c9103 100644 --- a/pandora/clip/views.py +++ b/pandora/clip/views.py @@ -95,7 +95,7 @@ def findClips(request, data): if 'keys' in data: qs = order_query(qs, query['sort']) qs = qs[query['range'][0]:query['range'][1]] - qs = qs.select_related('item') + #qs = qs.select_related('item') layers = settings.CONFIG['layers'] entity_layer_ids = [k['id'] for k in layers if k['type'] == 'entity']