From 3858e1418ccdc626f01b99e17945654f97fd2b75 Mon Sep 17 00:00:00 2001 From: MarceauKa Date: Mon, 6 Jan 2020 21:32:27 +0100 Subject: [PATCH] :bug: Wall tag restriction --- app/Post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Post.php b/app/Post.php index 633e67b..0a954a5 100644 --- a/app/Post.php +++ b/app/Post.php @@ -108,7 +108,7 @@ public function scopeWithWallRestrictions(Builder $query, ?array $tags, ?array $ // Restrict on tags list if (count($tags) > 0) { - $this->scopeWithAllTags($query, $tags); + $this->scopeWithAnyTags($query, $tags); } // Restrict on card types