Bug 779888 - Find Transaction by Value will not always find a split when commodities change

This commit changes the "Shares" find-text to "Amount". Thus, a
transfer from USD for 100USD -> 80GBP will be found if "Amount=80" or
"Amount=100" are chosen. A search for "Value=80" will not find
it. Perhaps the "Value" search option should be removed?
This commit is contained in:
Christopher Lam 2018-07-05 15:43:08 +08:00 committed by John Ralls
parent 5c8af37901
commit 0594beb081

View File

@ -121,7 +121,7 @@ gnc_ui_find_transactions_dialog_create2 (GNCLedgerDisplay2 * orig_ledg)
type, SPLIT_RECONCILE, NULL); type, SPLIT_RECONCILE, NULL);
params = gnc_search_param_prepend (params, N_("Share Price"), NULL, params = gnc_search_param_prepend (params, N_("Share Price"), NULL,
type, SPLIT_SHARE_PRICE, NULL); type, SPLIT_SHARE_PRICE, NULL);
params = gnc_search_param_prepend (params, N_("Shares"), NULL, params = gnc_search_param_prepend (params, N_("Amount"), NULL,
type, SPLIT_AMOUNT, NULL); type, SPLIT_AMOUNT, NULL);
params = gnc_search_param_prepend (params, N_("Value"), NULL, params = gnc_search_param_prepend (params, N_("Value"), NULL,
type, SPLIT_VALUE, NULL); type, SPLIT_VALUE, NULL);