fix unicode encode error in facet filters with scandinavian alphabets

This commit is contained in:
Jari Voutilainen 2016-03-23 10:38:04 +02:00
parent 2c092e04e9
commit afbf0f0dfe
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ class Harvest(p.SingletonPlugin, DefaultDatasetForm, DefaultTranslation):
fq = search_params.get('fq', '') fq = search_params.get('fq', '')
if 'dataset_type:harvest' not in fq: if 'dataset_type:harvest' not in fq:
fq = "{0} -dataset_type:harvest".format(search_params.get('fq', '')) fq = u"{0} -dataset_type:harvest".format(search_params.get('fq', ''))
search_params.update({'fq': fq}) search_params.update({'fq': fq})
return search_params return search_params