gnucash maint: Bug 476114 - Goto register by date feature req (bis)

Christopher Lam clam at code.gnucash.org
Thu Sep 3 21:53:59 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/304e4972 (commit)
	from  https://github.com/Gnucash/gnucash/commit/3f8ab268 (commit)



commit 304e4972433aca6a0dd634bdef720b46e18781a1
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Sep 4 00:29:28 2020 +0800

    Bug 476114 - Goto register by date feature req (bis)
    
    Addendum to c14241644 - ensure the splitlist is sorted before finding
    split. This ensures the correct split is found when the register has a
    non-default sorting. e.g. sorting by reverse posted-date would find
    the most recent split; this commit ensures the split nearest the
    desired date is selected.
    
    Also I've confirmed there's no need to clear filter; if the register
    has filtered splits, the algorithm will find the nearest *visible*
    split on or after the desired date.



Summary of changes:
 gnucash/gnome/gnc-plugin-page-register.c | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)



More information about the gnucash-patches mailing list