Skip to content
Snippets Groups Projects
Commit a4e92074 authored by anonymous's avatar anonymous
Browse files

fix operator for solr

parent f6daf9e4
Branches
Tags
No related merge requests found
......@@ -343,7 +343,7 @@ class OdshPlugin(plugins.SingletonPlugin, DefaultTranslation, DefaultDatasetForm
fq = search_params['fq']
fq = '{fq} +extras_temporal_start:[{start_date} TO {end_date}] OR +extras_temporal_end:[{start_date} TO {end_date}]'.format(fq=fq, start_date=start_date, end_date=end_date)
fq = '{fq} (+extras_temporal_start:[{start_date} TO {end_date}] OR +extras_temporal_end:[{start_date} TO {end_date}])'.format(fq=fq, start_date=start_date, end_date=end_date)
print(fq)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment