added global filter and resets to context and updated view to fix date filter