From 9e239a3c659e43bd0db2d0ea505c1012cb1dff3a Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 18 Dec 2020 12:43:07 +0100 Subject: [PATCH] put full name into first line of user selector makes it possible to search for it --- views/bootstrap/class.UsrMgr.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/bootstrap/class.UsrMgr.php b/views/bootstrap/class.UsrMgr.php index e3885ec52..21d93c22b 100644 --- a/views/bootstrap/class.UsrMgr.php +++ b/views/bootstrap/class.UsrMgr.php @@ -542,7 +542,7 @@ $(document).ready( function() { $options[] = array("-1", getMLText("choose_user")); $options[] = array("0", getMLText("add_user")); foreach ($users as $currUser) { - $options[] = array($currUser->getID(), htmlspecialchars($currUser->getLogin()), $seluser && $currUser->getID()==$seluser->getID(), array(array('data-subtitle', htmlspecialchars($currUser->getFullName())))); + $options[] = array($currUser->getID(), htmlspecialchars($currUser->getLogin().' - '.$currUser->getFullName()), $seluser && $currUser->getID()==$seluser->getID(), array(array('data-subtitle', htmlspecialchars($currUser->getEmail())))); } $this->formField( null, //getMLText("selection"),