mirror of
https://github.com/flarum/core.git
synced 2025-07-31 13:40:20 +02:00
committed by
Franz Liedke
parent
63a950d842
commit
a4f249a3fb
@@ -52,7 +52,7 @@ class FulltextGambit implements GambitInterface
|
||||
// discussions that have a relevant title or that contain relevant posts.
|
||||
$query
|
||||
->addSelect('posts_ft.most_relevant_post_id')
|
||||
->join(
|
||||
->leftJoin(
|
||||
new Expression('('.$subquery->toSql().') '.$grammar->wrapTable('posts_ft')),
|
||||
'posts_ft.discussion_id', '=', 'discussions.id'
|
||||
)
|
||||
|
Reference in New Issue
Block a user