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

Derek Atkins warlord at cvs.gnucash.org
Sat Dec 4 16:25:04 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.

Tags:
----
gnucash-1-8-branch

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.1461.2.375
retrieving revision 1.1461.2.376
diff -LChangeLog -LChangeLog -u -r1.1461.2.375 -r1.1461.2.376
--- 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-11-28  Christian Stimming  <stimming at tuhh.de>
 
 	* po/cs.po: Updated Czech translation by Miloslav Trmac
Index: dialog-vendor.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/business/business-gnome/dialog-vendor.c,v
retrieving revision 1.32.2.3
retrieving revision 1.32.2.4
diff -Lsrc/business/business-gnome/dialog-vendor.c -Lsrc/business/business-gnome/dialog-vendor.c -u -r1.32.2.3 -r1.32.2.4
--- src/business/business-gnome/dialog-vendor.c
+++ src/business/business-gnome/dialog-vendor.c
@@ -682,7 +682,7 @@
   }
 
   /* Build the queries */
-  q = gncQueryCreate ();
+  q = gncQueryCreateFor (type);
   gncQuerySetBook (q, book);
 
 #if 0


More information about the gnucash-changes mailing list