This commit is contained in:
caoyanyi
2023-12-23 10:03:04 +08:00
parent 37c398a574
commit 1087e260f7
2 changed files with 5 additions and 6 deletions
+4 -5
View File
@@ -435,13 +435,12 @@ class design extends control
*/
public function viewCommit($designID = 0, $recTotal = 0, $recPerPage = 20, $pageID = 1)
{
$design = $this->design->getCommit($designID, $pager);
$productID = $this->commonAction($design->project, $design->product, $designID);
/* Init pager. */
$this->app->loadClass('pager', $static = true);
$pager = pager::init(0, $recPerPage, $pageID);
$this->app->loadClass('pager', true);
$pager = pager::init($recTotal, $recPerPage, $pageID);
$design = $this->design->getCommit($designID, $pager);
$this->commonAction($design->project, $design->product, $designID);
$this->view->title = $this->lang->design->common . $this->lang->colon . $this->lang->design->submission;
$this->view->position[] = $this->lang->design->submission;
+1 -1
View File
@@ -58,7 +58,7 @@
</td>
</tr>
<?php endforeach;?>
<?php if($changeOnlyBody) $_Get['onlybody'] = 'yes'?>
<?php if($changeOnlyBody) $_GET['onlybody'] = 'yes'?>
</tbody>
</table>
<div class='table-footer table-statistic'>