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 114591 - Find button in register should default to opened account
Find button in register should default to opened account
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Register
unspecified
Other other
: Normal enhancement
: ---
Assigned To: David Hampton
Chris Shoemaker
: 107339 (view as bug list)
Depends on:
Blocks: 478463
 
 
Reported: 2003-06-06 18:45 UTC by Paolo Benvenuto
Modified: 2018-06-29 20:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
First try (2.35 KB, patch)
2008-02-10 03:30 UTC, Andreas Köhler
committed Details | Review

Description Paolo Benvenuto 2003-06-06 18:45:48 UTC
The button find of the register window should, as a default, perform a
refinement search, where the "former" criterion is account=<the open account>.

In order to perform a general search, there is the button find in the
principal window.
Comment 1 Derek Atkins 2003-06-06 20:56:14 UTC
fix the summary.
Comment 2 Paolo Benvenuto 2004-06-14 22:43:50 UTC
I see that this bug is marked trivial.

Where should one patch in order to solution the bug?
Comment 3 Christian Stimming 2004-07-16 09:29:03 UTC
Maybe "trivial" doesn't quite fit -- the callback function
gnc_ui_find_transactions_cb in src/gnome/window-register.c needs to be modified
to use the currently opened account.
Comment 4 Christian Stimming 2004-11-01 09:32:59 UTC
*** Bug 107339 has been marked as a duplicate of this bug. ***
Comment 5 Christian Stimming 2006-09-13 13:00:42 UTC
AFAIK, this enhancement request is still open even for 2.0.x versions.
Comment 6 Paolo Benvenuto 2006-09-13 17:56:52 UTC
Yes, it is still open.
Comment 7 Christian Stimming 2006-10-18 11:36:40 UTC
Other Find/Search-related bug reports: bug#343234 bug#150754 bug#361285
Comment 8 Andreas Köhler 2008-02-10 03:30:10 UTC
Created attachment 104816 [details] [review]
First try

What about this one?

It overrides the default search function on register plugin pages and calls gnc_ui_find_transactions_dialog_create() with the current legder display as parameter.  This even enables refinements of existing transaction search results.
Comment 9 Andreas Köhler 2008-03-02 21:00:24 UTC
Applied to trunk as r17000 for GnuCash 2.3.x.
Thanks.
Comment 10 Paolo Benvenuto 2008-03-02 21:06:32 UTC
Thanks very much for this bug fix! It is going to make our gnucash life more simple!

Maybe the knowledge of gnucash search functions could help you working on http://bugzilla.gnome.org/show_bug.cgi?id=150754 ? I think it's a quite annoying bug.

Thank you for all you'll be able to do!

You're great!
Comment 11 John Ralls 2018-06-29 20:33:08 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=114591. Please update any external references or bookmarks.