Skip to content

Search: add directory filter#15701

Merged
daschuer merged 1 commit into
mixxxdj:2.6from
ronso0:search-directory
Jan 7, 2026
Merged

Search: add directory filter#15701
daschuer merged 1 commit into
mixxxdj:2.6from
ronso0:search-directory

Conversation

@ronso0
Copy link
Copy Markdown
Member

@ronso0 ronso0 commented Dec 4, 2025

Not strictly needed but it's a useful extension/alternative if you're using location to filter for a specific directory, see Usage.
Shortcut: dir

Added because I need it for #14687, now that the extraFilter is not a SQL string anymore (#15597).
Benefit: allows easy switching between strict and recursive search.

Usage:
dir:/some/path -> all files in /some/path and subdirectories
dir:=/some/path -> only files in /some/path
dir:/some/path/ -> only files in subdirectories
Wrap path in quotes if it contains spaces, eg. dir:"/some/very nice path"

Usage:
dir:/some/path
  all files in /some/path and subdirectories
dir:=/some/path
  only files in /some/path
dir:/some/path/
  only files in subdirectories
Copy link
Copy Markdown
Member

@daschuer daschuer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you.

@daschuer daschuer merged commit fd1e2d0 into mixxxdj:2.6 Jan 7, 2026
39 of 40 checks passed
@ronso0 ronso0 deleted the search-directory branch January 7, 2026 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants