Case insensitive searches for the schema views

This commit is contained in:
Mark Crane
2013-07-09 20:34:44 +00:00
parent 89f7c5f76c
commit d1b6caabb7
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -45,7 +45,7 @@ if (strlen($_GET["id"]) > 0) {
if (strlen($_GET["data_parent_row_uuid"])>0) {
$data_parent_row_uuid = $_GET["data_parent_row_uuid"];
}
$search_all = check_str($_GET["search_all"]);
$search_all = strtolower(check_str($_GET["search_all"]));
}
//used for changing the order
@@ -142,7 +142,7 @@ if (strlen($_GET["id"]) > 0) {
}
}
else {
$sql .= "and data_field_value like '%$search_all%' \n";
$sql .= "and lower(data_field_value) like '%$search_all%' \n";
}
}
else {