diff --git a/mithril_client b/mithril_client index 21d4a0a5e..f0b1d113c 160000 --- a/mithril_client +++ b/mithril_client @@ -1 +1 @@ -Subproject commit 21d4a0a5e9a19f251e26c0ae07ce74be2fa99bbf +Subproject commit f0b1d113cee2a76e9dbb098b315f4acaf38410d0 diff --git a/src/Controller/TransactionCreationsController.php b/src/Controller/TransactionCreationsController.php index abce4e63e..9b05c1782 100644 --- a/src/Controller/TransactionCreationsController.php +++ b/src/Controller/TransactionCreationsController.php @@ -247,9 +247,9 @@ class TransactionCreationsController extends AppController ['AND' => [ 'disabled' => 0, 'OR' => [ - 'LOWER(first_name)' => strtolower($requestData['searchText']), - 'LOWER(last_name)' => strtolower($requestData['searchText']), - 'LOWER(email)' => strtolower($requestData['searchText']) + 'LOWER(first_name) LIKE' => '%'.strtolower($requestData['searchText']).'%', + 'LOWER(last_name) LIKE' => '%'.strtolower($requestData['searchText']).'%', + 'LOWER(email) LIKE' => '%'.strtolower($requestData['searchText']).'%' ] ] ] diff --git a/src/Template/StateUsers/view.ctp b/src/Template/StateUsers/view.ctp index b3616601c..c2bb33c2b 100644 --- a/src/Template/StateUsers/view.ctp +++ b/src/Template/StateUsers/view.ctp @@ -23,6 +23,7 @@