GNOME Bugzilla – Bug 683881
Sorting by Date
Last modified: 2018-06-29 23:10:30 UTC
Would it be possible to allow the option when sorting by date to change the order? Oldest first or Newest first. My bank online account info which I use to confirm my balances etc sorts in the opposite order of GnuCash making it more difficult to do a side by side comparison. Thanks for listening!
Created attachment 224233 [details] [review] Implement reverse transaction sorting My bank's web page also displays transaction in reverse order. This implements reverse sorting but it has a small bug. When transactions are reverse sorted the new/blank transaction is still at the bottom of the screen instead of at the top. Patch is for review while I try to fix blank transaction issue. All help welcome.
Mike I have no idea how to use the attachment file. Can you walk me through it? Luigi
(In reply to comment #2) > Mike > I have no idea how to use the attachment file. Can you walk me through it? > Luigi Unless you have the source files and a compiler it's of no use to you all I'm afraid. I'm also a Linux user so I can't help with compiling on Windoze anyway. It's intended for other developers to apply to their source code copies, test and provide feedback.
so is this something that will likely be integrated into the next update of GnuCash?
(In reply to comment #5) > so is this something that will likely be integrated into the next update of > GnuCash? Hopefully, yes.
Review of attachment 224233 [details] [review]: Looks good so far. As you say, it would be more useful if the new transaction appears on top with reversed sort order, but that's not an absolute must. It can also be added later. On thing I was missing is the option to save the reverse setting. No matter whether or not the "Save sort order" is checked or not, the reverse setting is never saved/restored. The other options are.
Thanks for reviewing the patch Geert. I didn't get around to implementing the save because I got sidetracked looking at how to make the blank_split appear at the top when reverse order is selected. Still haven't found how to do that. Pointers welcome, but as you say it could be implemented later.
Comment on attachment 224233 [details] [review] Implement reverse transaction sorting This patch has been made obsolete by later commits.
Committed to trunk as r22766, 2a514adf0f8 Leaving this bug open as this is still not complete.
Ah, git commit hash should be 679d59e44
Is this being held open for some reason?
Only because I never implmented the save and getting the blank_split at the to top of the page when reverse sorting is active. These could be a new bug I guess. I stopped because register2 would have made all this redundant. Reverse sorting needs adding to the documentation too.
*** Bug 106253 has been marked as a duplicate of this bug. ***
Review of attachment 224233 [details] [review]: Made obsolete by a newer patch. I'm changing the state to drop this attachment from bugzilla searches on attachments with state "reviewed"
(In reply to Mike Evans from comment #13) > Only because I never implmented the save and getting the blank_split at the > to top of the page when reverse sorting is active. These could be a new bug > I guess. I stopped because register2 would have made all this redundant. > > Reverse sorting needs adding to the documentation too. Saving the reverse sort order is the topic of bug 770136 which I have just fixed for gnucash 2.6.14. Remains only to get the blank split at the top and the documentation. I'm not sure the first part is still worth pursuing. The documentation obviously is.
Cheers Geert. I guess I can close this bug as it's original requirement has been fulfilled. Documentation and the blank split should be new separate bug. I'll open a bug for documentation. Mike
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=683881. Please update any external references or bookmarks.