mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 10:42:55 +08:00
Ensure all searchable terms are non-null non-empty.
This commit is contained in:
parent
46ae8bc86b
commit
a993790a66
@ -1,6 +1,7 @@
|
|||||||
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
||||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||||
|
|
||||||
|
using System.Linq;
|
||||||
using SQLite.Net.Attributes;
|
using SQLite.Net.Attributes;
|
||||||
|
|
||||||
namespace osu.Game.Database
|
namespace osu.Game.Database
|
||||||
@ -31,6 +32,6 @@ namespace osu.Game.Database
|
|||||||
TitleUnicode,
|
TitleUnicode,
|
||||||
Source,
|
Source,
|
||||||
Tags
|
Tags
|
||||||
};
|
}.Where(s => !string.IsNullOrEmpty(s)).ToArray();
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user