Make transaction_old and transaction_new searchable. (#6258)

* Make transaction_old and transaction_new searchable.

* Update database_transactions.php
This commit is contained in:
FusionPBX
2022-01-23 18:47:20 -07:00
committed by GitHub
parent d67b9597f1
commit 700f4748fb
2 changed files with 5 additions and 1 deletions
@@ -17,7 +17,7 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2016 - 2019
Portions created by the Initial Developer are Copyright (C) 2016 - 2021
the Initial Developer. All Rights Reserved.
Contributor(s):
@@ -57,6 +57,8 @@
$sql_search .= " or lower(t.transaction_address) like :search ";
$sql_search .= " or lower(t.transaction_type) like :search ";
$sql_search .= " or cast(t.transaction_date as text) like :search ";
$sql_search .= " or lower(t.transaction_old) like :search ";
$sql_search .= " or lower(t.transaction_new) like :search ";
$sql_search .= " or lower(u.username) like :search ";
$sql_search .= ") ";
$parameters['search'] = '%'.$search.'%';