feature/shuffle-sort #30
@@ -70,7 +70,7 @@ pub async fn list_photos<TagD: TagDao, FS: FileSystemAccess>(
|
|||||||
.map(|tagged_files| {
|
.map(|tagged_files| {
|
||||||
tagged_files
|
tagged_files
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.filter(|f| f.starts_with(search_path))
|
.filter(|f| f.starts_with(&format!("{}/", search_path).to_string()))
|
||||||
.collect::<Vec<String>>()
|
.collect::<Vec<String>>()
|
||||||
})
|
})
|
||||||
.inspect(|files| debug!("Found {:?} files", files.len()))
|
.inspect(|files| debug!("Found {:?} files", files.len()))
|
||||||
|
|||||||
Reference in New Issue
Block a user