diff --git a/inc/issue.class.php b/inc/issue.class.php index 040beefde..1aff22da2 100644 --- a/inc/issue.class.php +++ b/inc/issue.class.php @@ -993,17 +993,13 @@ static function getValidateCriteria() { } static function getSolvedCriteria() { - return ['criteria' => [ - [ - 'criteria' => [[ - 'link' => 'OR', - 'field' => 4, - 'searchtype' => 'equals', - 'value' => Ticket::SOLVED, // see Ticket::getAllStatusArray() - ], - ]], - ], - 'reset' => 'reset']; + return ['criteria' => [['link' => 'AND', + 'field' => 4, + 'searchtype' => 'equals', + 'value' => Ticket::SOLVED, // see Ticket::getAllStatusArray() + ], + ], + 'reset' => 'reset']; } static function getClosedCriteria() {