mirror of
https://github.com/flarum/core.git
synced 2025-08-19 06:41:44 +02:00
Merge pull request #58 from datitisev/1232-tag-exclusion-subscription
Do not hide tags from Following (subscriptions)
This commit is contained in:
@@ -43,10 +43,8 @@ class FilterDiscussionListByTags
|
||||
{
|
||||
$query = $event->search->getQuery();
|
||||
|
||||
foreach ($event->search->getActiveGambits() as $gambit) {
|
||||
if ($gambit instanceof TagGambit) {
|
||||
return;
|
||||
}
|
||||
if (count($event->search->getActiveGambits()) > 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
$query->whereNotExists(function ($query) {
|
||||
|
Reference in New Issue
Block a user