Merge branch 'Zharktas-fix_unicode_encode_error'

This commit is contained in:
Brook Elgie 2016-03-23 11:13:31 +00:00
commit 28c5c68c36
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', '')
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})
return search_params