mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-25 20:44:01 +01:00
Fix native full text search on postgresql while using excluding keyword matches. (Bug #19195)
git-svn-id: file:///svn/phpbb/trunk@8880 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
4649b93e0d
commit
958d077faa
@ -447,11 +447,12 @@ class fulltext_native extends search_backend
|
||||
'FROM' => array(
|
||||
SEARCH_WORDMATCH_TABLE => array(),
|
||||
SEARCH_WORDLIST_TABLE => array(),
|
||||
POSTS_TABLE => 'p'
|
||||
),
|
||||
'LEFT_JOIN' => array()
|
||||
'LEFT_JOIN' => array(array(
|
||||
'FROM' => array(POSTS_TABLE => 'p'),
|
||||
'ON' => 'm0.post_id = p.post_id',
|
||||
)),
|
||||
);
|
||||
$sql_where[] = 'm0.post_id = p.post_id';
|
||||
|
||||
$title_match = '';
|
||||
$group_by = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user