Reduce memory consumption when searching if the result is displayed as a list of topics
For the moment when there is no valid cache.
This commit is contained in:
parent
ddc3cafbd6
commit
4a4056281f
1 changed files with 2 additions and 2 deletions
|
@ -281,8 +281,8 @@ class Execute extends Method
|
|||
|
||||
if (1 === $this->model->showAs) {
|
||||
$usePIdx = true;
|
||||
$selectFIdx = 'p.topic_id';
|
||||
$selectFCJK = 't.id';
|
||||
$selectFIdx = 'DISTINCT p.topic_id';
|
||||
$selectFCJK = 'DISTINCT t.id';
|
||||
$useTCJK = true;
|
||||
} else {
|
||||
$selectFIdx = 'sm.post_id';
|
||||
|
|
Loading…
Reference in a new issue