aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_search.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2009-11-13 03:08:36 +0000
committerrvelices <rv-github@modusoptimus.com>2009-11-13 03:08:36 +0000
commit7cc7cb7817f51cde58bd46a77c4ba6c3874791ce (patch)
tree14a7f7ed36d05b6793a4f0d22ac66f164328c8e1 /include/functions_search.inc.php
parentad5763f68aa88b0ea566b64311b53f8ed852c689 (diff)
merge -r4261 from trunk
quick search on image file name is not case sensitive anymore git-svn-id: http://piwigo.org/svn/branches/2.0@4262 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);