searching records by year passed in url