mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 01:06:48 +02:00
- fixed some problems with themes
- added support for {IMG_NAME_SRC}, {IMG_NAME_WIDTH} and {IMG_NAME_HEIGHT} - fulltext_native has to use group by in a few more quries git-svn-id: file:///svn/phpbb/trunk@6254 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -370,11 +370,13 @@ class fulltext_native extends search_backend
|
||||
}
|
||||
|
||||
$title_match = '';
|
||||
$group_by = true;
|
||||
// Build some display specific sql strings
|
||||
switch ($fields)
|
||||
{
|
||||
case 'titleonly':
|
||||
$title_match = 'title_match = 1';
|
||||
$group_by = false;
|
||||
// no break
|
||||
case 'firstpost':
|
||||
$sql_array['FROM'][TOPICS_TABLE] = 't';
|
||||
@@ -383,6 +385,7 @@ class fulltext_native extends search_backend
|
||||
|
||||
case 'msgonly':
|
||||
$title_match = 'title_match = 0';
|
||||
$group_by = false;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user