After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 625505 - Autocomplete does not distinguish between vendor and customer jobs
Autocomplete does not distinguish between vendor and customer jobs
Status: RESOLVED OBSOLETE
Product: GnuCash
Classification: Other
Component: Business
git-master
Other Linux
: Normal normal
: ---
Assigned To: Derek Atkins
Derek Atkins
: 656997 768085 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-07-28 16:01 UTC by Brad Rigby
Modified: 2018-06-29 22:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Brad Rigby 2010-07-28 16:01:31 UTC
When I open up a new bill dialog and enter a vendor, the job box immediately below the vendor name becomes available.  Type in a few letters, and all jobs with those letters become available, and not just vendor jobs, whereas in the find job dialog only vendor jobs are visible (I assume, since I have no vendor jobs myself, it's just blank.)  

Currently using svn r19216, on Debian Squeeze, will upgrade and see if problem persists.  I'd imagine the same might hold for invoices coming up with vendor jobs, but I wouldn't know.
Comment 1 Brad Rigby 2010-07-28 16:03:30 UTC
OK, per Derek Atkins, it (meaning Autocomplete) should also limit itself to jobs associated with the vendor/customer immediately above.
Comment 2 Geert Janssens 2011-10-06 22:00:50 UTC
This is indeed a problem.

Technically:
Fixing this would require a more intelligent way to define the query used by the gnc-general-search widget in GnuCash.
It currently is limited to searching for one basic type only, like
"Find all vendors" or "Find all jobs". There is currently no way to change this to something like "Find all jobs for customer x". Which query is required is heavily dependent on the context. Ideally the gnc-general-search code allows the calling function to override the default query.
Comment 3 Geert Janssens 2013-12-05 09:48:50 UTC
*** Bug 656997 has been marked as a duplicate of this bug. ***
Comment 4 Mike Evans 2016-06-27 14:55:01 UTC
*** Bug 768085 has been marked as a duplicate of this bug. ***
Comment 5 Geert Janssens 2016-06-28 07:34:09 UTC
*** Bug 768085 has been marked as a duplicate of this bug. ***
Comment 6 Mike Evans 2016-09-22 08:16:19 UTC
Hi Geert.

Can the auto search be disabled for this? Because, using the adjacent "select..." button will show the correct job list and avoids this issue occurring.
Comment 7 Geert Janssens 2016-09-22 09:46:03 UTC
Mike, we could do that, however that's also a step back. The auto-fill was explicitly added because going via select was perceived as very cumbersome by other users. So if we revert this, I expect a new bug report to request adding auto complete...
Comment 8 Geert Janssens 2016-09-22 09:46:26 UTC
Hmm, I meant to add: I'm not sure which is the worse behaviour.
Comment 9 Mike Evans 2016-09-22 11:27:38 UTC
Geert. I didn't know/forgot that it was added by request. Personally I find the  auto complete, with the wrong data, to be more of a PITA then having to go via  select, but OK. There have been several bug reports about this behavior however.

When was auto-fill enabled?
Comment 10 John Ralls 2018-06-29 22:42:18 UTC
GnuCash bug tracking has moved to a new Bugzilla host. The new URL for this bug is https://bugs.gnucash.org/show_bug.cgi?id=625505. Please continue processing the bug there and please update any external references or bookmarks.