* Finish task #5167.

This commit is contained in:
Yagami
2018-12-25 13:02:09 +08:00
parent 184bb7114d
commit b390c49da8
+1 -1
View File
@@ -173,7 +173,7 @@ class doc extends control
$this->view->breadTitle = $title;
$this->view->libID = $libID;
$this->view->moduleID = $moduleID;
$this->view->modules = $this->doc->getDocMenu($libID, $moduleID, $orderBy == 'title_asc' ? 'name_asc' : 'id_desc', $browseType);
$this->view->modules = $this->doc->getDocMenu($libID, $moduleID, '`order`', $browseType);
$this->view->docs = $this->doc->getDocsByBrowseType($libID, $browseType, $queryID, $moduleID, $sort, $pager);
$this->view->attachLibs = $attachLibs;
$this->view->users = $this->loadModel('user')->getPairs('noletter');