Skip to content

Commit

Permalink
Future talks search filter also includes next 7 days. #3592
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaith committed May 12, 2016
1 parent 473dd83 commit 25c5ede
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion talks/events_search/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# Order used in the search UI for the filtering per start date
FACET_START_DATE = OrderedDict()
FACET_START_DATE['Next 7 days'] = {'solr_query': '[NOW TO NOW/DAY+7DAY]', 'url_param': 'next_7'}
FACET_START_DATE['Future talks'] = {'solr_query': '[NOW/DAY+7DAY TO *]', 'url_param': 'future'}
FACET_START_DATE['Future talks'] = {'solr_query': '[NOW TO *]', 'url_param': 'future'}
FACET_START_DATE['Past talks'] = {'solr_query': '[* TO NOW]', 'url_param': 'past'}

# map an URL param to a solr query, used when a search is done
Expand Down

0 comments on commit 25c5ede

Please sign in to comment.