Merge pull request #1434 from matthiasbeyer/libimagdiary/fix-youngest-entry

Fix: get_youngest_entry_id()
This commit is contained in:
Matthias Beyer 2018-04-22 15:06:26 +02:00 committed by GitHub
commit 93226ce987
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -125,6 +125,7 @@ impl Diary for Store {
} }
}) })
.into_iter() .into_iter()
.rev()
//.map(|sidres| sidres.map(|sid| DiaryId::from_storeid(&sid))) //.map(|sidres| sidres.map(|sid| DiaryId::from_storeid(&sid)))
.next() .next()
} }