Fix mapping issues of files when sorting

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/4/head
trivernis 3 years ago
parent 165151096d
commit 699698a251

@ -119,8 +119,8 @@ impl FilesNamespace {
files.sort_by(|a, b| {
compare_files(
contexts.get(&a.hash_id()).unwrap(),
contexts.get(&b.hash_id()).unwrap(),
contexts.get(&a.id()).unwrap(),
contexts.get(&b.id()).unwrap(),
&sort_expression,
)
});

Loading…
Cancel
Save