GNOME Bugzilla – Bug 114591
Find button in register should default to opened account
Last modified: 2018-06-29 20:33:08 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.
fix the summary.
I see that this bug is marked trivial. Where should one patch in order to solution the bug?
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.
*** Bug 107339 has been marked as a duplicate of this bug. ***
AFAIK, this enhancement request is still open even for 2.0.x versions.
Yes, it is still open.
Other Find/Search-related bug reports: bug#343234 bug#150754 bug#361285
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.
Applied to trunk as r17000 for GnuCash 2.3.x. Thanks.
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!
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.