diff options
author | Michael Muré <batolettre@gmail.com> | 2020-02-25 21:35:57 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-02-25 21:35:57 +0100 |
commit | 893de4f5c0e852fac9a73e0c0243bc038af75f17 (patch) | |
tree | 6129d0a6e2efbfa81b26534ee5aeb65ba1261bfe /cache/filter.go | |
parent | 68acfa519ab6656648d1e976db2a4190bbeb5f44 (diff) | |
download | git-bug-893de4f5c0e852fac9a73e0c0243bc038af75f17.tar.gz |
identity: bring back the login to hold that info from bridges (purely informational)
Diffstat (limited to 'cache/filter.go')
-rw-r--r-- | cache/filter.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cache/filter.go b/cache/filter.go index f840067b..ebe774ac 100644 --- a/cache/filter.go +++ b/cache/filter.go @@ -44,7 +44,8 @@ func AuthorFilter(query string) Filter { } // Legacy identity support - return strings.Contains(strings.ToLower(excerpt.LegacyAuthor.Name), query) + return strings.Contains(strings.ToLower(excerpt.LegacyAuthor.Name), query) || + strings.Contains(strings.ToLower(excerpt.LegacyAuthor.Login), query) } } |