From f8fdeafb3aefc4e8c36e6f1b7abf7c54f56e786e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E5=BB=B6=E4=B9=89?= Date: Fri, 9 Sep 2022 11:06:56 +0800 Subject: [PATCH] * Fix bug #27150. --- api/v1/entries/testcases.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1/entries/testcases.php b/api/v1/entries/testcases.php index 11ed761d97..5facb8ce38 100644 --- a/api/v1/entries/testcases.php +++ b/api/v1/entries/testcases.php @@ -26,7 +26,7 @@ class testcasesEntry extends entry $this->app->cookie->caseModule = 0; $this->app->cookie->caseSuite = 0; - $type = 'all'; + $type = $this->param('status', 'all'); $param = 0; $moduleID = $this->param('module', 0); if($moduleID)