Skip to content
This repository has been archived by the owner on Sep 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #218 from EsupPortail/drclockwork/hotfix_searchvid…
Browse files Browse the repository at this point in the history
…eo_views

fix syntax error
  • Loading branch information
DrClockwork authored Jun 14, 2017
2 parents 9b82ad9 + 898b5d8 commit 40e80c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pod_project/pods/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1900,7 +1900,7 @@ def search_videos(request):
if start_date:
filter_date_search["range"]["date_added"]["gte"] = "%04d-%02d-%02d" % (start_date.year, start_date.month, start_date.day)
if end_date:
filter_date_search["range"]["date_added"]["lte"] = "%0d4-%02d-%02d" % (end_date.year, end_date.month, end_date.day)
filter_date_search["range"]["date_added"]["lte"] = "%04d-%02d-%02d" % (end_date.year, end_date.month, end_date.day)

filter_search["and"].append(filter_date_search)

Expand Down

0 comments on commit 40e80c6

Please sign in to comment.