Remove filtering when recursively searching with tags

This commit is contained in:
Cameron
2024-11-25 21:40:25 -05:00
parent a668b14116
commit 9327208deb

View File

@@ -67,12 +67,6 @@ pub async fn list_photos<TagD: TagDao, FS: FileSystemAccess>(
"Failed to get files with tag_ids: {:?} with filter_mode: {:?}",
tag_ids, filter_mode
))
.map(|files| {
files
.into_iter()
.filter(|file_path| file_path.starts_with(search_path))
.collect()
})
.map(|tagged_files: Vec<String>| {
trace!("Found {:?} tagged files: {:?}", tagged_files.len(), tagged_files);