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

Christian Stimming stimming at tuhh.de
Fri Jun 4 09:25:37 EDT 2010


Am Friday 04 June 2010 schrieb Derek Atkins:
> > @@ -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.

Thanks for speaking up - I was merely applying the patch from the bugzilla 
item.

Does that mean you would prefer to have this inserted (prepended) at a 
different place, maybe second-to-last, in between "Company Name" and "Invoice 
ID"?

Regards,

Christian


More information about the gnucash-devel mailing list