r19227 - gnucash/trunk/src/business/business-gnome - Bug #618951: Add ability to search for invoices by due date

Derek Atkins warlord at MIT.EDU
Fri Jun 4 08:19:29 EDT 2010


Hi,

Christian Stimming <cstim at code.gnucash.org> writes:

> @@ -2442,6 +2442,9 @@
>          inv_params = gnc_search_param_prepend (inv_params,
>                                                 _("Invoice ID"), NULL, type,
>                                                 INVOICE_ID, NULL);
> +        inv_params = gnc_search_param_prepend (inv_params,
> +                                               _("Due Date"), NULL, type,
> +                                               INVOICE_DUE, NULL);
>      }
[snip]

This will change the Due Date to be the primary search term.  I think
you should keep Invoice ID as the last entry pre-pended to the list in
order to keep that as the primary search term.

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list