mirror of
https://github.com/cachethq/cachet.git
synced 2026-07-01 08:15:55 +00:00
Fix bug
This commit is contained in:
@@ -85,7 +85,7 @@ trait HasTags
|
||||
|
||||
$tags->each(function ($tag) use ($query) {
|
||||
$query->whereHas('tags', function (Builder $query) use ($tag) {
|
||||
return $query->where('id', $tag ? $tag->id : 0);
|
||||
return $query->where('tags.id', $tag ? $tag->id : 0);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user