You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When importing files from a backup they are in a different order as when the backup was done.
To Reproduce
Steps to reproduce the behavior:
Add some files
Check their order
Create a backup
Empty data / reset app
Import backup
Files are in reverse order
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Version 1.7.4
Additional context
I assume this is because files are added to the backup in ascending order as shown in the gallery, when importing the first file is thereby the first file from the gallery and gets the lowest importedAt value which is later on used by sort SELECT * FROM photo ORDER BY importedAt DESC.
The text was updated successfully, but these errors were encountered:
Describe the bug
When importing files from a backup they are in a different order as when the backup was done.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Additional context
I assume this is because files are added to the backup in ascending order as shown in the gallery, when importing the first file is thereby the first file from the gallery and gets the lowest
importedAt
value which is later on used by sortSELECT * FROM photo ORDER BY importedAt DESC
.The text was updated successfully, but these errors were encountered: