my problem is, when I try to create a new task, it shows me the blocked agents as well, which I do not want. This is not the case with the tickets. Could you please alert me where I can find the code line to change this, but only for new tasks?


    daksic28

    I don’t know what you mean by "Blocked Agents". Can you further expand on what you mean?

    Cheers.

    My English is not so good, but the banned agents should not be shown


    I need to know where the code is located which outputs this select in the New Task

      daksic28

      Ohhhhh Locked Agents. Okay, I see what you mean. Yea, Tasks are old and in desperate need of revamp. Tasks will be fully revamped in v2.0 so stay tuned!

      Cheers.

      If you can't tell me where the code is then I could rewrite it as the file is called and which line in the ticket I found, but I can't find the task

      You're going to have to search to find it.
      My guesses would be
      include/class.task.php
      and
      include/staff/tasks.inc.php

      5 days later

      Ok, I found it in class.forms.php
      it starts at line 3380 here is the code as it was changed

      foreach ($dept->getAssignees(array('staff' => $staff, 'available' => true)) as $a)

      foreach (Staff::getStaffMembers(array('staff' => $staff, 'available' => true)) as $id => $name)

      Write a Reply...