GNOME Bugzilla – Bug 625505
Autocomplete does not distinguish between vendor and customer jobs
Last modified: 2018-06-29 22:42:18 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.
OK, per Derek Atkins, it (meaning Autocomplete) should also limit itself to jobs associated with the vendor/customer immediately above.
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.
*** Bug 656997 has been marked as a duplicate of this bug. ***
*** Bug 768085 has been marked as a duplicate of this bug. ***
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.
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...
Hmm, I meant to add: I'm not sure which is the worse behaviour.
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?
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.