* Fix bug#47080.

This commit is contained in:
xieqiyu
2024-03-27 10:08:57 +08:00
parent f298de3d7f
commit 0f3edd793d
+3 -1
View File
@@ -169,6 +169,8 @@ class program extends control
$this->view->program = $program;
}
$this->loadModel('product')->refreshStats(true);
$this->view->title = $this->lang->program->product;
$this->view->position[] = $this->lang->program->product;
$this->view->programID = $programID;
@@ -176,7 +178,7 @@ class program extends control
$this->view->orderBy = $orderBy;
$this->view->pager = $pager;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->view->products = $this->loadModel('product')->getStats($orderBy, $pager, $browseType, '', 'story', $programID);
$this->view->products = $this->product->getStats($orderBy, $pager, $browseType, '', 'story', $programID);
$this->view->userIdPairs = $this->user->getPairs('noletter|showid');
$this->view->usersAvatar = $this->user->getAvatarPairs('');
$this->view->showBatchEdit = $this->cookie->showProductBatchEdit;