Merge branch '201_zhouxin_fixbug' into 'master'

* Fix bug for task #56458.

See merge request easycorp/zentaopms!3838
This commit is contained in:
李玉春
2022-06-09 09:13:26 +00:00
3 changed files with 6 additions and 0 deletions
+4
View File
@@ -417,7 +417,9 @@ EOF;
$this->loadModel('execution');
$queryID = ($type == 'bySearch') ? (int)$param : 0;
/* Save session. */
if($type != 'bySearch') $this->session->set('myTaskType', $type);
if($this->app->viewType != 'json') $this->session->set('taskList', $this->app->getURI(true), 'execution');
/* Load pager. */
@@ -521,8 +523,10 @@ EOF;
$this->loadModel('bug');
$this->app->loadLang('bug');
$queryID = ($type == 'bySearch') ? (int)$param : 0;
if($type != 'bySearch') $this->session->set('myBugType', $type);
if($this->app->viewType != 'json') $this->session->set('bugList', $this->app->getURI(true), 'qa');
/* Load pager. */
$this->app->loadClass('pager', $static = true);
if($this->app->getViewType() == 'mhtml') $recPerPage = 10;
+1
View File
@@ -52,6 +52,7 @@
?>
<table class="table has-sort-head table-fixed" id='bugList'>
<?php $vars = "mode=$mode&type=$type&param=myQueryID&orderBy=%s&recTotal=$recTotal&recPerPage=$recPerPage&pageID=$pageID"; ?>
<?php $type = $type == 'bySearch' ? $this->session->myBugType : $type;?>
<thead>
<tr>
<th class="c-id">
+1
View File
@@ -50,6 +50,7 @@
<div class="table-responsive">
<table class="table has-sort-head table-fixed" id='taskTable'>
<?php $vars = "mode=$mode&type=$type&param=myQueryID&orderBy=%s&recTotal=$recTotal&recPerPage=$recPerPage&pageID=$pageID"; ?>
<?php $type = $type == 'bySearch' ? $this->session->myTaskType : $type;?>
<thead>
<tr>
<th class="c-id">