Fixed search field in agents list

This commit is contained in:
Arturo Gonzalez 2017-07-10 09:34:13 +02:00
parent 7002f24586
commit 75b82847b0
1 changed files with 2 additions and 2 deletions

View File

@ -180,8 +180,7 @@ echo "</tr></table>";
$order_collation = "";
switch ($config["dbtype"]) {
case "mysql":
$order_collation = "";
//$order_collation = "COLLATE utf8_general_ci";
$order_collation = "COLLATE utf8_general_ci";
break;
case "postgresql":
case "oracle":
@ -275,6 +274,7 @@ switch ($sortField) {
}
$search_sql = '';
if ($search != "") {
$sql = "SELECT DISTINCT taddress_agent.id_agent FROM taddress
INNER JOIN taddress_agent ON