Update views.py

updated search by date and search by author