Skip to content

Commit

Permalink
Merge pull request #9244 from alikon/patch-60
Browse files Browse the repository at this point in the history
Search filters case sensitive in sql #9242
  • Loading branch information
wilsonge committed Feb 28, 2016
2 parents 8200463 + f6f8fc1 commit bed9b93
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -126,7 +126,7 @@ protected function _getListQuery()
if (!empty($search))
{
$search = $db->quote('%' . str_replace(' ', '%', $db->escape(trim($search), true) . '%'));
$query->where('(name LIKE ' . $search . ')');
$query->where('(LOWER(name) LIKE ' . strtolower($search) . ')');
}

// Add the list ordering clause.
Expand Down

0 comments on commit bed9b93

Please sign in to comment.