From 1682867d0265ed1ac83cb0f80a9148118e40c1aa Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 10 Mar 2017 20:58:09 -0800 Subject: [PATCH] Added employee number back into user listings --- app/Presenters/UserPresenter.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/Presenters/UserPresenter.php b/app/Presenters/UserPresenter.php index 5a80de2ee2..759d6f52af 100644 --- a/app/Presenters/UserPresenter.php +++ b/app/Presenters/UserPresenter.php @@ -78,13 +78,21 @@ class UserPresenter extends Presenter "visible" => true, "formatter" => "usersLinkFormatter" ], + [ + "field" => "employee_num", + "searchable" => true, + "sortable" => true, + "switchable" => true, + "title" => trans('admin/users/table.employee_num'), + "visible" => false + ], [ "field" => "location", "searchable" => true, "sortable" => true, "switchable" => true, "title" => trans('admin/users/table.location'), - "true" => false, + "visible" => true, "formatter" => "locationsLinkObjFormatter" ], [