mirror of
https://github.com/beetbox/beets.git
synced 2026-01-04 23:12:51 +01:00
expclude prefix from query term
This commit is contained in:
parent
7d879289c1
commit
7bc0b3a518
1 changed files with 1 additions and 1 deletions
|
|
@ -615,7 +615,7 @@ class CollectionQuery(Query):
|
|||
term = match.group(2)
|
||||
for p in prefixes:
|
||||
if term.startswith(p):
|
||||
return (key, term, p)
|
||||
return (key, term[len(p):], p)
|
||||
return (key, term, False)
|
||||
|
||||
@classmethod
|
||||
|
|
|
|||
Loading…
Reference in a new issue