giowck / symphytum

Symphytum Personal Database Software
https://git.io/fxdRt
Other
413 stars 63 forks source link

Sorting of records using Cloud Sync #139

Open tickellsthrush opened 4 years ago

tickellsthrush commented 4 years ago

Hi,

using symphytum [Portable ZIP Archive version 2.6] without integrated cloud sync, at startup always the latest record (concerning record ID) is shown. That is an reasonable and expected behavior.

But if using integrated cloud sync, a new record in the "cloud-database" - which is not yet synced to a local data.db - will cause symphytum to show the oldest record (presumably with the lowest entry ID) at startup. At least in my use case, the most recent records are usually the subjects of interest and I often have to scan through them in descending order. In the described case, I have to switch to the table view, change the sorting order and change to form view again to be able to do so.

Could you reproduce this behavior?

Maybe its not too difficult to implement, that always the latest record is selected at symphytum startup - even using integrated cloud sync.

tickellsthrush commented 4 years ago

Addition: Every change of your remote data.db (i.e. "cloud-database") will cause symphytum to update your local data.db (e.g. in your portable_data directory) on its startup first. After updating your local data.db, symphytum automatically selects/shows the oldest record.
I would expect to be presented the last selected record or at least the latest record, but not the oldest one.