-
-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#4690 Secondary 'Sort By' Column #5108
Comments
DavidCinUK makes a valid point about how to set the sorting - I didn't find it very intuitive, particularly as I don't normally display the ID column. |
The saving of sort order is saved independently for the 'All Transactions' view and the individual accounts view (each account having the same sort order). I cannot replicate the issue of the sort order being different across accounts. Have tested on MacOS and Windows-64 and the behaviour looks fine. Is it possible to post screenshots or a video of what you are seeing? |
Hi Whalley |
Oh ... forgot to say ... re-installing v1.5.20 and then open the same file gets the account order back to the way it was originally prior to installing v1.5.21. |
Just to show the mechanism for secondary sort and the results I am seeing.
As you can see the sort order is retained across all accounts CleanShot.2022-09-22.at.08.42.01.mp4 |
It's a pretty common approach across apps. Windows File Explorer is just one example. Click on one column to sort that then on another to sort that. You now have Secondary and Primary columns and the sort order defined.
Granted that this may be an issue for some people. |
Think you should be able to setup the sort order, e.g. Date/ID then hide the ID column. It should continue to sort by Date/ID. |
I think you're right, you can hide the column after setting the sort order. Date > ID is not the order that I would want, as a future transaction, with an earlier ID and a later Date doesn't stay at the top of the list (sorted descending ID and later to earlier date). If you sort ID > Date (which is the order I would want) However, if you sort ID > Date I hope I have explained this in sufficient detail for you to replicate what I am seeing, and that I haven't misunderstood what should be happening. |
I am experiencing a change in the order of transactions (for a particular date) if I make a change to the value of one of the transactions and then have to reset the sort ID > Date for them to appear in the correct order. If you can't replicate this, then I should be able to provide screenshots to demonstrate what I'm experiencing. |
And if a transaction is deleted. |
And when a transaction is marked 'Reconciled' |
OK, having setup 1st Date (low->high), 2nd ID (high->low) I can see the ID sort order gets reverted to Low->High in the above situations... |
Pushed this: whalley@ddd7ef1 |
Can you please test this v1.5.22Beta release to see if the issue is fixed? |
I think you've sorted it Mark. I think I've tried all the changes to transactions that weren't correctly actioned in version 1.5.21 and they are now. Well done in such a short period of time! |
If a different column is selected for the sort, say Payee, then it is necessary to reset the sort ID > Date. |
Yes, it remembers the last selected first/secondary sort. If you change it you need to set it back. |
A quick report back after I installed the beta.1 version. |
MMEX version:
Note: bug reporters are expected to have verified the bug still exists
either in the last stable version of MMEX or on updated development code
(master branch).
Operating System:
Description of the bug
The described enhancement for "#4690 Secondary 'Sort By' Column" re how the secondary "sort by" column feature should work is not too intuitive, or the feature is not working as I'd expect it to as ...
... each time I get one current account's columns to appear correctly when I then switch to viewing a different current account the sort order seems to have changed again
... i.e. I get one account arranged with the sort in an OK form [newest date first, then highest ID first within each single date], but when I switch to a second account the sort has reverted to [newest date first, then smallest ID first within each single date] which is an order which I see is "wrong".
Reproduction
Is the bug reproducible?
Reproduction steps:
Expected result:
Once the sort order has been set for one account is should replicate across all other accounts
Actual result:
Once the sort order has been set for one account it does not replicate across all other accounts
Additional information
Would it be possible to make an enhancement where the "sort logic" can be globally set within the Options section ?
with the main arrangement I'm looking for is to have "Primary Sort Field = Date in 'Latest First' order", then "Secondary Sort Field = ID No. in 'Highest First' order"
I've reverted to using v1.5.20 version as that version works OK
If you have a backtrace for a crash or a warning, paste it here.
The text was updated successfully, but these errors were encountered: