aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/search/fulltext_native.php
diff options
context:
space:
mode:
authorbrunoais <brunoaiss@gmail.com>2015-08-15 22:03:47 +0100
committerbrunoais <brunoaiss@gmail.com>2015-08-15 22:04:51 +0100
commit81b4293cc5318a96af52d40f07eb2333d9acfbac (patch)
tree50c7a6da1155800cb59004381c27961846567782 /phpBB/phpbb/search/fulltext_native.php
parente466318dc26c9cf4f9dc8d42c2bb69983b89608f (diff)
downloadforums-81b4293cc5318a96af52d40f07eb2333d9acfbac.tar
forums-81b4293cc5318a96af52d40f07eb2333d9acfbac.tar.gz
forums-81b4293cc5318a96af52d40f07eb2333d9acfbac.tar.bz2
forums-81b4293cc5318a96af52d40f07eb2333d9acfbac.tar.xz
forums-81b4293cc5318a96af52d40f07eb2333d9acfbac.zip
[ticket/14104] Fix missing variables from previous commit
Fixing variables wrongly attributed in PHPBB3-13691 PHPBB3-14104
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 7c825029fb..02337cbf98 100644
--- a/phpBB/phpbb/search/fulltext_native.php
+++ b/phpBB/phpbb/search/fulltext_native.php
@@ -1050,6 +1050,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
@@ -1062,6 +1063,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)
@@ -1069,6 +1071,7 @@ class fulltext_native extends \phpbb\search\base
*/
$vars = array(
'total_results',
+ 'type',
'select',
'sql_sort_table',
'sql_sort_join',
@@ -1081,6 +1084,7 @@ class fulltext_native extends \phpbb\search\base
'sort_days',
'sql_time',
'firstpost_only',
+ 'sql_firstpost',
'ex_fid_ary',
'sql_fora',
'start',