search by previous week/month/year