diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-08-13 06:59:19 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-08-13 06:59:19 +0000 |
commit | 774d060142d400abb5daf61614b35a62750337d6 (patch) | |
tree | 4d69a6cde37372bf33f265bad35d6a1c7ef3e63c /modules | |
parent | 3a7bbafa9295f4042a6d95f1b198170eef707506 (diff) | |
download | brdo-774d060142d400abb5daf61614b35a62750337d6.tar.gz brdo-774d060142d400abb5daf61614b35a62750337d6.tar.bz2 |
- Patch #293504 by Damien Tournoud: fixed search on PostgreSQL - argument of AND must be type boolean, not type integer.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/search/search.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/search/search.module b/modules/search/search.module index f6175084c..dfcc12edc 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -912,7 +912,7 @@ function _search_parse_query(&$word, &$scores, $not = FALSE) { * * @ingroup search */ -function do_search($keywords, $type, $join1 = '', $where1 = '1', $arguments1 = array(), $columns2 = 'i.relevance AS score', $join2 = '', $arguments2 = array(), $sort_parameters = 'ORDER BY score DESC') { +function do_search($keywords, $type, $join1 = '', $where1 = '1 = 1', $arguments1 = array(), $columns2 = 'i.relevance AS score', $join2 = '', $arguments2 = array(), $sort_parameters = 'ORDER BY score DESC') { $query = search_parse_query($keywords); if ($query[2] == '') { |