aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_search.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2009-11-13 03:07:44 +0000
committerrvelices <rv-github@modusoptimus.com>2009-11-13 03:07:44 +0000
commitdda7f4571b72323c4e53ce5ef4a42412b65da3bd (patch)
treeda3ccca1fe48d27d2015f4a76cdda73b851b63d9 /include/functions_search.inc.php
parent2855c5372f5e6919754a1bf122278c2f9a899570 (diff)
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
Diffstat (limited to '')
-rw-r--r--include/functions_search.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_search.inc.php b/include/functions_search.inc.php
index 70661e39b..fcd58ceff 100644
--- a/include/functions_search.inc.php
+++ b/include/functions_search.inc.php
@@ -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);