Put harvest_source_id in quotes to prevent Solr errors
This commit is contained in:
parent
928ea061aa
commit
c338452872
|
@ -18,7 +18,7 @@ def package_list_for_source(source_id):
|
||||||
'''
|
'''
|
||||||
limit = 20
|
limit = 20
|
||||||
page = int(request.params.get('page', 1))
|
page = int(request.params.get('page', 1))
|
||||||
fq = 'harvest_source_id:{0}'.format(source_id)
|
fq = 'harvest_source_id:"{0}"'.format(source_id)
|
||||||
search_dict = {
|
search_dict = {
|
||||||
'fq' : fq,
|
'fq' : fq,
|
||||||
'rows': limit,
|
'rows': limit,
|
||||||
|
|
Loading…
Reference in New Issue