1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-15 13:24:10 +02:00

[ticket/11938] use sql_attr_string instead of sql_attr_str2ordinal

PHPBB3-11938
This commit is contained in:
Dhruv 2014-03-09 01:16:13 +05:30
parent 9100f4ebbf
commit 1207767bb3
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ source source_phpbb_{SPHINX_ID}_main
sql_attr_bool = deleted
sql_attr_timestamp = post_time
sql_attr_timestamp = topic_last_post_time
sql_attr_str2ordinal = post_subject
sql_attr_string = post_subject
}
source source_phpbb_{SPHINX_ID}_delta : source_phpbb_{SPHINX_ID}_main
{

View File

@ -284,7 +284,7 @@ class fulltext_sphinx
array('sql_attr_bool', 'deleted'),
array('sql_attr_timestamp' , 'post_time'),
array('sql_attr_timestamp' , 'topic_last_post_time'),
array('sql_attr_str2ordinal', 'post_subject'),
array('sql_attr_string', 'post_subject'),
),
'source source_phpbb_' . $this->id . '_delta : source_phpbb_' . $this->id . '_main' => array(
array('sql_query_pre', ''),