diff --git a/brewman/views/employee.py b/brewman/views/employee.py index 0da0b3ec..848eda61 100644 --- a/brewman/views/employee.py +++ b/brewman/views/employee.py @@ -182,7 +182,7 @@ def show_term(request): def employee_info(id, dbsession): if id is None: - employee = {'code': '(Auto)', 'isActive': True, 'costCentre': CostCentre.overall()} + employee = {'code': '(Auto)', 'isStarred': False, 'isActive': True, 'costCentre': CostCentre.overall()} else: employee = dbsession.query(Employee).filter(Employee.id == id).first() if employee is None: