Control dates in search

Added daterange as an option in the search