#640 Resolved requests shown in both lists (opened and resolved)

SVN:trunk[2508]
This commit is contained in:
Romain Quetiez
2012-12-05 09:52:19 +00:00
parent ed6bbe6d07
commit fb8e2ce1a4

View File

@@ -402,7 +402,7 @@ function ListOpenRequests(WebPage $oP)
{
$oUserOrg = GetUserOrg();
$sOQL = 'SELECT UserRequest WHERE org_id = :org_id AND status NOT IN ("closed")';
$sOQL = 'SELECT UserRequest WHERE org_id = :org_id AND status NOT IN ("closed", "resolved")';
$oSearch = DBObjectSearch::FromOQL($sOQL);
$iUser = UserRights::GetContactId();
if ($iUser > 0)