item should only be loaded if item is joined, disable for now
This commit is contained in:
parent
c039279984
commit
83765d91d8
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ def findClips(request, data):
|
||||||
if 'keys' in data:
|
if 'keys' in data:
|
||||||
qs = order_query(qs, query['sort'])
|
qs = order_query(qs, query['sort'])
|
||||||
qs = qs[query['range'][0]:query['range'][1]]
|
qs = qs[query['range'][0]:query['range'][1]]
|
||||||
qs = qs.select_related('item')
|
#qs = qs.select_related('item')
|
||||||
|
|
||||||
layers = settings.CONFIG['layers']
|
layers = settings.CONFIG['layers']
|
||||||
entity_layer_ids = [k['id'] for k in layers if k['type'] == 'entity']
|
entity_layer_ids = [k['id'] for k in layers if k['type'] == 'entity']
|
||||||
|
|
Loading…
Reference in a new issue