* Set menu when changing tab(menu) from gitlab to repo.

This commit is contained in:
dingguodong
2021-08-04 15:22:05 +08:00
parent f4361e7d28
commit 67a3e24155
+3
View File
@@ -23,6 +23,9 @@ class gitlab extends control
*/
public function browse($orderBy = 'id_desc', $recTotal = 0, $recPerPage = 20, $pageID = 1)
{
/* This is essential when changing tab(menu) from gitlab to repo. */
common::setMenuVars('devops', $this->session->repoID);
$this->app->loadClass('pager', $static = true);
$pager = new pager($recTotal, $recPerPage, $pageID);