* bug: fix the error that the bug cannot be searched.

This commit is contained in:
liugang
2023-05-31 10:49:24 +08:00
parent a15bb1ccaa
commit 3efe3d17b2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ $config->bug->actions = new stdclass();
$config->bug->actions->browse = 'confirm,resolve,close,edit,copy';
$config->bug->actions->view = 'confirm,assignTo,resolve,close,activate';
$config->bug->browseTypeList = array('all', 'bymodule', 'assigntome', 'openedbyme', 'resolvedbyme', 'assigntonull', 'unconfirmed', 'unresolved', 'unclosed', 'toclosed', 'longlifebugs', 'postponedbugs', 'overduebugs', 'assignedbyme', 'review', 'needconfirm');
$config->bug->browseTypeList = array('all', 'bymodule', 'assigntome', 'openedbyme', 'resolvedbyme', 'assigntonull', 'unconfirmed', 'unresolved', 'unclosed', 'toclosed', 'longlifebugs', 'postponedbugs', 'overduebugs', 'assignedbyme', 'review', 'needconfirm', 'bysearch');
$config->bug->list = new stdclass();
$config->bug->list->allFields = 'id, module, execution, story, task,
+1 -1
View File
@@ -54,7 +54,7 @@ class bugTao extends bugModel
{
$browseType = strtolower($browseType);
if($browseType == 'bysearch') return $this->getBySearch($productIdList, $branch, $queryID, $orderBy, '', $pager, $projectID);
if($browseType == 'bysearch') return $this->getBySearch($productIdList, $branch, $projectID, $queryID, $orderBy, '', $pager, $projectID);
if($browseType == 'needconfirm') return $this->getNeedConfirmList($productIdList, $projectID, $executionIdList, $branch, $moduleIdList, $orderBy, $pager);
$lastEditedDate = '';