mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Fix native full text search on postgresql while using excluding keyword matches. (Bug #19195)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8878 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
5f7e847b57
commit
8b63049936
2 changed files with 7 additions and 3 deletions
|
@ -116,6 +116,7 @@
|
|||
<li>[Fix] Do not allow setting forums parent to the forum itself. (Bug #18855)</li>
|
||||
<li>[Fix] Display assigned rank/avatar for guests. (Bug #19155)</li>
|
||||
<li>[Fix] Set secure cookie for style switcher if required. (Bug #19625)</li>
|
||||
<li>[Fix] Fix native full text search on postgresql while using excluding keyword matches. (Bug #19195)</li>
|
||||
|
||||
<li>[Change] No longer allow the direct use of MULTI_INSERT in sql_build_array. sql_multi_insert() must be used.</li>
|
||||
<li>[Change] Display warning in ACP if config.php file is left writable.</li>
|
||||
|
|
|
@ -447,11 +447,14 @@ class fulltext_native extends search_backend
|
|||
'FROM' => array(
|
||||
SEARCH_WORDMATCH_TABLE => array(),
|
||||
SEARCH_WORDLIST_TABLE => array(),
|
||||
POSTS_TABLE => 'p'
|
||||
// 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';
|
||||
// $sql_where[] = 'm0.post_id = p.post_id';
|
||||
|
||||
$title_match = '';
|
||||
$group_by = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue