* Save user query session, it's used in user::export.

This commit is contained in:
liumengyi
2024-03-04 10:07:40 +08:00
committed by caoyanyi
parent 672f907b46
commit 86d294796b
+1
View File
@@ -71,6 +71,7 @@ class company extends control
/* Get users. */
$users = $this->company->getUsers($browseType, $type, $queryID, $deptID, $sort, $pager);
$this->loadModel('common')->saveQueryCondition($this->dao->get(), 'user');
$this->view->title = $this->lang->company->index . $this->lang->colon . $this->lang->dept->common;
$this->view->users = array_map(function($user){unset($user->password);return $user;}, $users);