Page 1 of 1

Link sorting preferences to database, not to the program

Posted: Sat Oct 20, 2012 4:42 pm
by RSchiaffino
[Managing][Reordering/Sorting]

I would like the program to be able to keep different sorting orders in different databases, and to retain that preference after the program closes.

For example, I may keep my main database sorted by date, and reverse order, but prefer to have a second database sorted by title and not in reverse order.

At the moment, if I choose a sorting option, it applies to the program, not to the file, so that if I change the sorting order, and then open the other file, I need to change the sorting order again.

If the sorting order was linked to the file, instead, I would only need to switch files to also have the correct sorting order for the new file.

Re: Link sorting preferences to database, not to the progra

Posted: Mon Oct 22, 2012 5:15 am
by CintaNotes Developer
Mark, thanks for the suggestion!

One question: say you open a large .db file from a Dropbox-synced folder and change the sorting. Suddenly, the whole file begins to resync!
Why? Because you changed the sorting and sorting is written to the .db.
The same applies to .db files with R/O access.

Do you have any ideas how to overcome these problems? Thanks!

Re: Link sorting preferences to database, not to the progra

Posted: Mon Oct 22, 2012 5:48 am
by RSchiaffino
Hi Alex,

I'm not Mark - my name is Riccardo. Was this answer addressed to me?

Re: Link sorting preferences to database, not to the progra

Posted: Mon Oct 22, 2012 6:25 am
by CintaNotes Developer
Oh, sorry Riccardo! Was answering to Mark S. in another thread and got the names mixed up :roll:
Yes, this was to you!

Re: Link sorting preferences to database, not to the progra

Posted: Fri Nov 09, 2012 6:22 pm
by Mark S.
CintaNotes Developer wrote:Mark, thanks for the suggestion!

One question: say you open a large .db file from a Dropbox-synced folder and change the sorting. Suddenly, the whole file begins to resync!
Why? Because you changed the sorting and sorting is written to the .db.
The same applies to .db files with R/O access.

Do you have any ideas how to overcome these problems? Thanks!

Since my name's being used in vain, I thought I'd chip in :D

I'd put the per-database sorting order in the settings file, just like the file list. Yes, that would mean that you'd have to set it ONCE every time you accessed it for a first time from a new installation, but it would avoid the problems mentioned here.

Thanks,
Mark

Re: Link sorting preferences to database, not to the progra

Posted: Thu Jan 31, 2013 8:29 am
by CintaNotes Developer
Mark S. wrote:Since my name's being used in vain, I thought I'd chip in :D

I'd put the per-database sorting order in the settings file, just like the file list. Yes, that would mean that you'd have to set it ONCE every time you accessed it for a first time from a new installation, but it would avoid the problems mentioned here.


Mark, hi, sorry for the delayed reply.
Yes, this is exactly what we've tried to do in 2.0.2.
There seem to be still some problems with correct saving and loading, we hope to fix them in 2.0.3.