ignore search for concepts without specification of type or title
This commit is contained in:
parent
0263eacb3b
commit
efcab23914
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ class Search(ConceptView):
|
||||||
title = None
|
title = None
|
||||||
types = request.get('searchType')
|
types = request.get('searchType')
|
||||||
data = []
|
data = []
|
||||||
if title or types:
|
if title or (types and types != u'loops:concept:*'):
|
||||||
if title is not None:
|
if title is not None:
|
||||||
title = title.replace('(', ' ').replace(')', ' ').replace(' -', ' ')
|
title = title.replace('(', ' ').replace(')', ' ').replace(' -', ' ')
|
||||||
#title = title.split(' ', 1)[0]
|
#title = title.split(' ', 1)[0]
|
||||||
|
|
Loading…
Add table
Reference in a new issue