Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Incorrect URL caused date search options not to work after clicking a…

… tag link on the index page
  • Loading branch information...
commit 233f10c8f03df2e2a8e2f235fd995806ea8c201d 1 parent 7f228ff
Rob Fisher authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mailshareapp/search.py
View
2  mailshareapp/search.py
@@ -583,7 +583,7 @@ def get_days_search(days):
def get_team_search(contact_id, days):
"""Return new Search object representing a search for mails sent to the specified contact in the last days days."""
- return Search([(_RecipientParameter.parameter_name, str(contact_id)), (_AgeInDaysParameter.parameter_name, str(days))])
+ return Search([(_RecipientParameter.parameter_name + '-1', str(contact_id)), (_AgeInDaysParameter.parameter_name, str(days))])
def get_search_from_url(url):
Please sign in to comment.
Something went wrong with that request. Please try again.