diff options
| author | Henry Sudhof <kellanved@phpbb.com> | 2007-07-23 17:03:37 +0000 |
|---|---|---|
| committer | Henry Sudhof <kellanved@phpbb.com> | 2007-07-23 17:03:37 +0000 |
| commit | e8ae63daf6c693fb02883e33b8f561168507d449 (patch) | |
| tree | ceceb147a4c90e4ae9956cc3efa9ee41d71a5d13 /phpBB/search.php | |
| parent | d4fb1870be8f2aee08b7788b6293bb5691f6c345 (diff) | |
| download | forums-e8ae63daf6c693fb02883e33b8f561168507d449.tar forums-e8ae63daf6c693fb02883e33b8f561168507d449.tar.gz forums-e8ae63daf6c693fb02883e33b8f561168507d449.tar.bz2 forums-e8ae63daf6c693fb02883e33b8f561168507d449.tar.xz forums-e8ae63daf6c693fb02883e33b8f561168507d449.zip | |
#13579
This changes the signature of author_search. Search backends will need adjustment.
git-svn-id: file:///svn/phpbb/trunk@7930 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/search.php')
| -rw-r--r-- | phpBB/search.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/search.php b/phpBB/search.php index 16840a4c6d..d40dcebb1c 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -419,7 +419,8 @@ if ($keywords || $author || $author_id || $search_id || $submit) } else if (sizeof($author_id_ary)) { - $total_match_count = $search->author_search($show_results, $sort_by_sql, $sort_key, $sort_dir, $sort_days, $ex_fid_ary, $m_approve_fid_ary, $topic_id, $author_id_ary, $id_ary, $start, $per_page); + $firstpost_only = ($search_fields === 'firstpost') ? true : false; + $total_match_count = $search->author_search($show_results, $firstpost_only, $sort_by_sql, $sort_key, $sort_dir, $sort_days, $ex_fid_ary, $m_approve_fid_ary, $topic_id, $author_id_ary, $id_ary, $start, $per_page); } // For some searches we need to print out the "no results" page directly to allow re-sorting/refining the search options. |
