mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-10 10:04:37 +01:00
Merge pull request #2602 from nebel/fix-search-tag-case
Properly lowercase for tags for plugin installer search
This commit is contained in:
commit
526e651750
1 changed files with 1 additions and 1 deletions
|
|
@ -3804,7 +3804,7 @@ internal class PluginInstallerWindow : Window, IDisposable
|
|||
if (!manifest.Punchline.IsNullOrEmpty())
|
||||
scores.Add(matcher.Matches(manifest.Punchline.ToLowerInvariant()) * 100);
|
||||
if (manifest.Tags != null)
|
||||
scores.Add(matcher.MatchesAny(manifest.Tags.ToArray()) * 100);
|
||||
scores.Add(matcher.MatchesAny(manifest.Tags.Select(tag => tag.ToLowerInvariant()).ToArray()) * 100);
|
||||
|
||||
return scores.Max();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue