mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 11:49:56 +03:00
quick search on image file name is not case sensitive anymore
git-svn-id: http://piwigo.org/svn/trunk@4261 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
2855c5372f
commit
dda7f4571b
1 changed files with 1 additions and 1 deletions
|
@ -438,7 +438,7 @@ function get_quick_search_results($q, $super_order_by, $images_where='')
|
|||
if (!empty($q_like_clause))
|
||||
{
|
||||
$where_clauses .= '
|
||||
OR '. str_replace($q_like_field, 'file', $q_like_clause);
|
||||
OR '. str_replace($q_like_field, 'CONVERT(file, CHAR)', $q_like_clause);
|
||||
$where_clauses = '('.$where_clauses.')';
|
||||
}
|
||||
$where_clauses = array($where_clauses);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue