# Left Teacher still shows up in gradebook.

**URL:** <https://ask.gibbonedu.org/t/left-teacher-still-shows-up-in-gradebook/3585>\
**Category:** Administration\
**Created:** [June 23, 2022, 5:38pm UTC](https://ask.gibbonedu.org/t/left-teacher-still-shows-up-in-gradebook/3585 "2022-06-23T17:38:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tiekubd](https://ask.gibbonedu.org/user_avatar/ask.gibbonedu.org/tiekubd/32/163_2.png) [@tiekubd](https://ask.gibbonedu.org/u/tiekubd)\
**Post date:** [June 23, 2022, 5:38pm UTC](https://ask.gibbonedu.org/t/left-teacher-still-shows-up-in-gradebook/3585/1 "2022-06-23T17:38:59Z")

</div>

v23.0.02  
I have removed a staff member from a class as a Teacher. I have also changed the staus to Left.

However, when I go to the gradebook, the teacher’s name still shows up under **Class taught by…**

---

<div class="post-metadata">

**Author:** ![sandra](https://ask.gibbonedu.org/user_avatar/ask.gibbonedu.org/sandra/32/5_2.png) [@sandra](https://ask.gibbonedu.org/u/sandra)\
**Post date:** [June 27, 2022, 2:27am UTC](https://ask.gibbonedu.org/t/left-teacher-still-shows-up-in-gradebook/3585/2 "2022-06-27T02:27:25Z")

</div>

Hi Tieku, thanks for catching this, certainly a bug. I’ve fixed it in v25 which you can see and apply to your own codebase here: [https://github.com/GibbonEdu/core/commit/bb99d495710c5bbbf6b538ddfbf4c1a20bbdba10](https://github.com/GibbonEdu/core/commit/bb99d495710c5bbbf6b538ddfbf4c1a20bbdba10)

Cheers,  
Sandra

---

<div class="post-metadata">

**Author:** ![tiekubd](https://ask.gibbonedu.org/user_avatar/ask.gibbonedu.org/tiekubd/32/163_2.png) [@tiekubd](https://ask.gibbonedu.org/u/tiekubd)\
**Post date:** [June 27, 2022, 6:58am UTC](https://ask.gibbonedu.org/t/left-teacher-still-shows-up-in-gradebook/3585/3 "2022-06-27T06:58:37Z")

</div>

Thanks Sandra. Now shouldn’t it be sufficient just to remove the person from class as a teacher for the name to disappear from the Class taught by list?

Do you also need to change status to Left?

Thanks

---

<div class="post-metadata">

**Author:** ![sandra](https://ask.gibbonedu.org/user_avatar/ask.gibbonedu.org/sandra/32/5_2.png) [@sandra](https://ask.gibbonedu.org/u/sandra)\
**Post date:** [June 28, 2022, 1:57am UTC](https://ask.gibbonedu.org/t/left-teacher-still-shows-up-in-gradebook/3585/4 "2022-06-28T01:57:56Z")

</div>

Hi Tieku, this change catches both possible cases, a teacher leaving the school and being set to left, as well as a teacher class enrolment being either removed or set to Teacher - Left. You’d only need to use one of these for it to have an effect, whichever makes sense on the whole.

---

<div class="post-metadata">

**Author:** ![tiekubd](https://ask.gibbonedu.org/user_avatar/ask.gibbonedu.org/tiekubd/32/163_2.png) [@tiekubd](https://ask.gibbonedu.org/u/tiekubd)\
**Post date:** [June 28, 2022, 10:55am UTC](https://ask.gibbonedu.org/t/left-teacher-still-shows-up-in-gradebook/3585/5 "2022-06-28T10:55:54Z")

</div>

Hi Sandra,

So if either condition is met, the teacher drops off the list? That’s what I expected. Thanks
