From 4f7d6bb7dc6d416b9510625f1a340c70a15bc426 Mon Sep 17 00:00:00 2001 From: chaideqing Date: Tue, 21 Nov 2023 05:28:48 +0000 Subject: [PATCH] * Fix bug# 40703. --- module/testcase/control.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/testcase/control.php b/module/testcase/control.php index 4bb553cfec..363b805f1b 100644 --- a/module/testcase/control.php +++ b/module/testcase/control.php @@ -150,6 +150,7 @@ class testcase extends control $cases = array(); $scenes = array(); + $browseType = ($browseType == 'bymodule' and $this->session->caseBrowseType == 'all') ? $this->session->caseBrowseType : $browseType; if($browseType == 'all') { $pager->pageID = $pageID; // 场景和用例混排,$pageID 可能大于场景分页后的总页数。在 pager 构造函数中会被设为 1,这里要重新赋值。