Merge branch '201_zhouxin_fixbug' into 'master'
* Fix bug for task #56458. See merge request easycorp/zentaopms!3838
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
?>
|
||||
<table class="table has-sort-head table-fixed" id='bugList'>
|
||||
<?php $vars = "mode=$mode&type=$type¶m=myQueryID&orderBy=%s&recTotal=$recTotal&recPerPage=$recPerPage&pageID=$pageID"; ?>
|
||||
<?php $type = $type == 'bySearch' ? $this->session->myBugType : $type;?>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="c-id">
|
||||
|
||||
@@ -50,6 +50,7 @@
|
||||
<div class="table-responsive">
|
||||
<table class="table has-sort-head table-fixed" id='taskTable'>
|
||||
<?php $vars = "mode=$mode&type=$type¶m=myQueryID&orderBy=%s&recTotal=$recTotal&recPerPage=$recPerPage&pageID=$pageID"; ?>
|
||||
<?php $type = $type == 'bySearch' ? $this->session->myTaskType : $type;?>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="c-id">
|
||||
|
||||
Reference in New Issue
Block a user