aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/search/fulltext_native.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-08-22 10:37:53 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-08-22 10:37:53 +0200
commitf2edec90b0f94985a0abe8e82e050c7cde82fa60 (patch)
treef7870a9faefcbde7c5378466746d654264beb558 /phpBB/phpbb/search/fulltext_native.php
parenteb168913d9d00c9513ac5508034ac679afbf753c (diff)
parentd8dd6bad6b7f7e04fbda6bb96ff97e81212709ec (diff)
downloadforums-f2edec90b0f94985a0abe8e82e050c7cde82fa60.tar
forums-f2edec90b0f94985a0abe8e82e050c7cde82fa60.tar.gz
forums-f2edec90b0f94985a0abe8e82e050c7cde82fa60.tar.bz2
forums-f2edec90b0f94985a0abe8e82e050c7cde82fa60.tar.xz
forums-f2edec90b0f94985a0abe8e82e050c7cde82fa60.zip
Merge branch '3.1.x'
Diffstat (limited to 'phpBB/phpbb/search/fulltext_native.php')
-rw-r--r--phpBB/phpbb/search/fulltext_native.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/phpbb/search/fulltext_native.php b/phpBB/phpbb/search/fulltext_native.php
index bb3057fd14..41d3434c7d 100644
--- a/phpBB/phpbb/search/fulltext_native.php
+++ b/phpBB/phpbb/search/fulltext_native.php
@@ -1053,6 +1053,7 @@ class fulltext_native extends \phpbb\search\base
* @event core.search_native_author_count_query_before
* @var int total_results The previous result count for the format of the query.
* Set to 0 to force a re-count
+ * @var string type The type of search being made
* @var string select SQL SELECT clause for what to get
* @var string sql_sort_table CROSS JOIN'ed table to allow doing the sort chosen
* @var string sql_sort_join Condition to define how to join the CROSS JOIN'ed table specifyed in sql_sort_table
@@ -1065,6 +1066,7 @@ class fulltext_native extends \phpbb\search\base
* @var string sort_days Time, in days, that the oldest post showing can have
* @var string sql_time The SQL to search on the time specifyed by sort_days
* @var bool firstpost_only Wether or not to search only on the first post of the topics
+ * @var string sql_firstpost The SQL used in the WHERE claused to filter by firstpost.
* @var array ex_fid_ary Forum ids that must not be searched on
* @var array sql_fora SQL query for ex_fid_ary
* @var int start How many posts to skip in the search results (used for pagination)
@@ -1072,6 +1074,7 @@ class fulltext_native extends \phpbb\search\base
*/
$vars = array(
'total_results',
+ 'type',
'select',
'sql_sort_table',
'sql_sort_join',
@@ -1084,6 +1087,7 @@ class fulltext_native extends \phpbb\search\base
'sort_days',
'sql_time',
'firstpost_only',
+ 'sql_firstpost',
'ex_fid_ary',
'sql_fora',
'start',