r18172 - gnucash/trunk/src/backend/sql - Handle SPLIT_VALUE terms in split query. I'm not sure credit vs debit is handled correctly, but

Phil Longstaff plongstaff at code.gnucash.org
Fri Jul 3 13:49:52 EDT 2009


Author: plongstaff
Date: 2009-07-03 13:49:51 -0400 (Fri, 03 Jul 2009)
New Revision: 18172
Trac: http://svn.gnucash.org/trac/changeset/18172

Modified:
   gnucash/trunk/src/backend/sql/gnc-transaction-sql.c
Log:
Handle SPLIT_VALUE terms in split query.  I'm not sure credit vs debit is handled correctly, but
given the weird way queries work, it doesn't really matter.  By this, I mean that all the backend
is supposed to do with a query is ensure that the correct set of splits is loaded.  Since an
account can only be reconciled once it is opened in a register, and opening a register loads all
splits in the account, and reconciling queries for a subset of splits (those that haven't been
reconciled), the reconcile query could do nothing and it would all still work.  This will need
to be revisted once the register and queries need to be smarter.




More information about the gnucash-patches mailing list