improv(service): Also split names by _ for improved Pop!_Shop sorting
This commit is contained in:
parent
10d35d9379
commit
5e2c38e6d6
1 changed files with 1 additions and 1 deletions
|
|
@ -434,7 +434,7 @@ impl<O: futures::Sink<Response> + Unpin> Service<O> {
|
|||
.map(|exec| exec.to_ascii_lowercase())
|
||||
.unwrap_or_default();
|
||||
|
||||
for name in name.split_ascii_whitespace() {
|
||||
for name in name.split_ascii_whitespace().flat_map(|x| x.split('_')) {
|
||||
if name.starts_with(query) {
|
||||
return 1.0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue