modified Filter by functionality for year on calendar template