diff --git a/api/v1/entries/testcases.php b/api/v1/entries/testcases.php index 9aa0ff714f..79d6d9cf51 100644 --- a/api/v1/entries/testcases.php +++ b/api/v1/entries/testcases.php @@ -23,8 +23,9 @@ class testcasesEntry extends entry if(empty($productID)) $productID = $this->param('product', 0); if(empty($productID)) return $this->sendError(400, 'Need product id.'); - $this->app->cookie->caseModule = 0; - $this->app->cookie->caseSuite = 0; + $this->app->cookie->caseModule = 0; + $this->app->cookie->caseSuite = 0; + $this->app->cookie->showAutoCase = 1; $type = $this->param('status', 'all'); $param = 0;