When I attempt to assign a ticket to another user, I see that the AJAX window just spins after I hit the ASSIGN button.
Looking in the error log, I see this
PHP Fatal error: Call to undefined method QuerySet::findFirst() in /var/www/html/include
/class.dept.php on line 341, referer: http://support.company.com/scp/tickets.php?id=7322
Originally saw the issue in 907ec36, so I updated to afd63e1 and the problem persists,
So this is 1.10 so develop? develop-next? master?
Sorry. Didn't have the full version in the title. Just what I pulled from the bootstrap.php.
Full version is v1.10-rc.3-1-gafd63e1
I have the same versi贸n but not show this error

I think #3090 might be the best fix for this
@balojs could you try this patch?
diff --git a/include/class.dept.php b/include/class.dept.php
index 93f92d7..31be31a 100644
--- a/include/class.dept.php
+++ b/include/class.dept.php
@@ -336,7 +336,7 @@ implements TemplateVariable {
if (is_object($staff))
$staff = $staff->getId();
- $members = $this->getMembers() ?: $this->members;
+ $members = $this->getMembers()->getIterator() ?: $this->members;
return ($members->findFirst(array(
'staff_id' => $staff)));
@greezybacon yeah, it's worth this patch 馃憤
Worked for me too ;)
Most helpful comment
@balojs could you try this patch?