-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implicit path queries in a boolean OR yield a match-all query #1865
Comments
Thanks for the report! This is definitely a bug. I added a unit test for it, which we should enable when it's fixed. Here's the problem. The We'll need to rethink how that works. Maybe we need to add a general "implicit query type" functionality to |
Hm, why does it need to do such complex things? Isn't it possible to straight-out replace undecorated path-like pieces with proper queries to the path field, in a "preprocessor" manner? |
Actually, that's not a bad idea! I feel dumb now, but I'd never thought of that, and I don't see any problems with it. Good thinking. ✨ |
This is best illustrated by example:
beet list /path/to/library/A
— worksbeet list /path/to/library/B
— worksbeet list /path/to/library/A , /path/to/library/B
— lists the whole librarybeet list path:/path/to/library/A , path:/path/to/library/B
— worksThe text was updated successfully, but these errors were encountered: