mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-19 10:53:31 +00:00
Expand tag report #1106
This commit is contained in:
@@ -45,7 +45,7 @@ class TagList implements BinderInterface
|
||||
$list = [];
|
||||
$incoming = explode(',', $value);
|
||||
foreach ($incoming as $entry) {
|
||||
$list[] = trim($entry);
|
||||
$list[] = strtolower(trim($entry));
|
||||
}
|
||||
$list = array_unique($list);
|
||||
if (count($list) === 0) {
|
||||
@@ -57,7 +57,7 @@ class TagList implements BinderInterface
|
||||
|
||||
$collection = $allTags->filter(
|
||||
function (Tag $tag) use ($list) {
|
||||
return in_array($tag->tag, $list);
|
||||
return in_array(strtolower($tag->tag), $list);
|
||||
}
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user