X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2FModule%2FSearch%2FIndex.php;h=d1cd5f40d3659f394471e960f851b3c599986849;hb=f5422111895fd6e67375569bc60da355003f84f7;hp=cd35d803a60397aef33e46316d5696412aaf75b0;hpb=ec54b303c5fd25ff95e6a819db2693acc6218b40;p=friendica.git diff --git a/src/Module/Search/Index.php b/src/Module/Search/Index.php index cd35d803a6..d1cd5f40d3 100644 --- a/src/Module/Search/Index.php +++ b/src/Module/Search/Index.php @@ -22,6 +22,7 @@ namespace Friendica\Module\Search; use Friendica\App; +use Friendica\Content\Conversation; use Friendica\Content\Nav; use Friendica\Content\Pager; use Friendica\Content\Text\HTML; @@ -212,7 +213,7 @@ class Index extends BaseSearch Logger::info('Start Conversation.', ['q' => $search]); - $o .= DI::conversation()->create($items, 'search', false, false, 'commented', DI::userSession()->getLocalUserId()); + $o .= DI::conversation()->create($items, Conversation::MODE_SEARCH, false, false, 'commented', DI::userSession()->getLocalUserId()); if (DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'system', 'infinite_scroll')) { $o .= HTML::scrollLoader();