[Gnucash-changes] Set the query search type in the vendor dialog (#141526).

Derek Atkins warlord at cvs.gnucash.org
Sat Dec 4 16:25:23 EST 2004


Log Message:
-----------
Set the query search type in the vendor dialog (#141526).

	* src/business/business-gnome/dialog-vendor.c:
	  Make sure we set the proper search-type when we create the
	  query, otherwise the search will fail later.
	  Fixes #141526.

Modified Files:
--------------
    gnucash:
        ChangeLog
    gnucash/src/business/business-gnome:
        dialog-vendor.c

Revision Data
-------------
Index: ChangeLog
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/ChangeLog,v
retrieving revision 1.1862
retrieving revision 1.1863
diff -LChangeLog -LChangeLog -u -r1.1862 -r1.1863
--- ChangeLog
+++ ChangeLog
@@ -1,3 +1,10 @@
+2004-12-04  Derek Atkins  <derek at ihtfp.com>
+
+	* src/business/business-gnome/dialog-vendor.c:
+	  Make sure we set the proper search-type when we create the
+	  query, otherwise the search will fail later.
+	  Fixes #141526.
+
 2004-12-02  Derek Atkins  <derek at ihtfp.com>
 
 	* src/business/business-ledger/Makefile.am: add explicit
Index: dialog-vendor.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/business/business-gnome/dialog-vendor.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -Lsrc/business/business-gnome/dialog-vendor.c -Lsrc/business/business-gnome/dialog-vendor.c -u -r1.37 -r1.38
--- src/business/business-gnome/dialog-vendor.c
+++ src/business/business-gnome/dialog-vendor.c
@@ -699,7 +699,7 @@
   }
 
   /* Build the queries */
-  q = gncQueryCreate ();
+  q = gncQueryCreateFor (type);
   gncQuerySetBook (q, book);
 
 #if 0


More information about the gnucash-changes mailing list