mirror of https://github.com/MarceauKa/shaark.git
🐛 Wall tag restriction
This commit is contained in:
parent
0df8ebdda6
commit
3858e1418c
|
@ -108,7 +108,7 @@ class Post extends Model
|
|||
|
||||
// Restrict on tags list
|
||||
if (count($tags) > 0) {
|
||||
$this->scopeWithAllTags($query, $tags);
|
||||
$this->scopeWithAnyTags($query, $tags);
|
||||
}
|
||||
|
||||
// Restrict on card types
|
||||
|
|
Loading…
Reference in New Issue