feature/shuffle-sort #30

Merged
cameron merged 21 commits from feature/shuffle-sort into master 2024-12-06 16:25:44 +00:00
Showing only changes of commit 8daa35b5a7 - Show all commits

View File

@@ -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()))