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 10:14:24 EDT 2010


Christian Stimming <stimming at tuhh.de> writes:

> 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"?

Maybe between Date Posted and Is Paid?

(Note that this should be fixed in all three places, not just the one I
pointed out above).

THANKS!

> Regards,
>
> Christian

-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