Package: gnucash Version: 1:2.6.4-3 Severity: normal Dear Maintainer,
Gnucash doesn't seem to be sorting transactions correctly. According to http://wiki.gnucash.org/wiki/FAQ#Q:_How_do_I_order_transactions_in_a_register_so_deposits_are_before_withdrawls.3F the transactions in an account should be sorted first by the Date field, then by the Num field. I have an example where the transactions seem to be sorted by the Date field but not by the Num field. If I edit the Num field, the transaction ordering is not changed. These transactions are a year old and I believe they were displayed in the correct order in the past, but now they are no longer sorted correctly. I'm not sure with which version of gnucash I originally created the transactions. Please see the attached screenshot. There are 3 pairs of transactions that share the same date and have different values in the Num field, but the sorting of the Num field is not consistent. The following steps should reproduce this issue: * Create an account * Enter two transactions into the account with the same date but with different values in the Num field * Now swap the values in the Num field -> Transactions *should* reverse in the account. For me this isn't working on existing transactions in the account. I was able to work around this issue by changing the dates of one of the transactions, then changing it back to the correct date. -- System Information: Debian Release: 8.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages gnucash depends on: ii gnucash-common 1:2.6.4-3 ii guile-2.0 2.0.11+1-9 ii guile-2.0-libs 2.0.11+1-9 ii libaqbanking34 5.4.3beta-2+b1 ii libaqbanking34-plugins 5.4.3beta-2+b1 ii libc6 2.19-13 ii libcairo2 1.14.0-2.1 ii libcrypt-ssleay-perl 0.58-1+b2 ii libdate-manip-perl 6.47-1 ii libdbi1 0.9.0-4 ii libfinance-quote-perl 1.35-1 ii libgdk-pixbuf2.0-0 2.31.1-2+b1 ii libglib2.0-0 2.42.1-1 ii libgnome-keyring0 3.12.0-1+b1 ii libgnomecanvas2-0 2.30.3-2 ii libgoffice-0.8-8 0.8.17-3 ii libgtk2.0-0 2.24.25-1 ii libgwengui-gtk2-0 4.12.0beta-3+b1 ii libgwenhywfar60 4.12.0beta-3+b1 ii libhtml-tableextract-perl 2.11-1 ii libhtml-tree-perl 5.03-1 ii libktoblzcheck1c2a 1.47-1 ii libofx6 1:0.9.10-1 ii libpango-1.0-0 1.36.8-3 ii libpangocairo-1.0-0 1.36.8-3 ii libpython2.7 2.7.8-11 ii libwebkitgtk-1.0-0 2.4.7-3 ii libwww-perl 6.08-1 ii libx11-6 2:1.6.2-3 ii libxml2 2.9.1+dfsg1-4 ii libxslt1.1 1.1.28-2+b2 ii perl 5.20.1-4 ii zlib1g 1:1.2.8.dfsg-2+b1 Versions of packages gnucash recommends: ii gnucash-docs 2.6.4-1 ii yelp 3.14.1-1 Versions of packages gnucash suggests: pn libdbd-mysql <none> pn libdbd-pgsql <none> pn libdbd-sqlite3 <none> -- no debconf information