When a hierarchical account/category is entered in the ledger search box no transactions are displayed. Reproducible: Always Steps to Reproduce: 1.Create a transaction with a hierarchical account or category, e.g. foo:bar 2.Enter foo:bar in the ledger search box Actual Results: No transactions are displayed Expected Results: All transactions containing the text foo:bar, either in the category/account field or in another field, should be displayed.
The code searching for the entered filter is located in Transaction::matches().
Git commit 7e618064a3f1b66be776c1728d5c53638f84d26a by Ralf Habacker. Committed on 14/11/2017 at 20:37. Pushed by habacker into branch '4.8'. Fix 'Ledger search box doesn't support account hierarchy character ":"' Summary: FIXED-IN:4.8.2 Test Plan: tested with branch 4.8 Reviewers: #kmymoney Differential Revision: https://phabricator.kde.org/D8823 M +14 -0 kmymoney/widgets/transaction.cpp https://commits.kde.org/kmymoney/7e618064a3f1b66be776c1728d5c53638f84d26a
Git commit 7aacbd709b0fd1b8619dd7b53a44e993b37e5ea9 by Ralf Habacker Committed on 18/11/2017 at 16:08 Pushed by habacker into branch '4.8'. Revert "Fix 'Ledger search box doesn't support account hierarchy character ":"'" This reverts commit 7e618064a3f1b66be776c1728d5c53638f84d26a. https://commits.kde.org/kmymoney/7aacbd709b0fd1b8619dd7b53a44e993b37e5ea9
Git commit 9d5cd2c67d363d43ef9452b86006ee8ab0887752 by Ralf Habacker. Committed on 01/03/2018 at 15:00. Pushed by habacker into branch '4.8'. Fix incorrect spelled variable name 'MyMoneyFile::AccountSeparator' This change has been requested by Thomas Baumgart. M +2 -2 kmymoney/converter/mymoneyqifreader.cpp M +1 -1 kmymoney/converter/mymoneystatementreader.cpp M +1 -1 kmymoney/dialogs/kimportdlg.cpp M +1 -1 kmymoney/dialogs/knewaccountdlg.cpp M +2 -2 kmymoney/kmymoney.cpp M +7 -7 kmymoney/mymoney/mymoneyfile.cpp M +1 -1 kmymoney/mymoney/mymoneyfile.h M +2 -2 kmymoney/plugins/csvimport/csvutil.cpp M +4 -4 kmymoney/widgets/kmymoneyaccountcompletion.cpp M +3 -3 kmymoney/widgets/kmymoneyaccountselector.cpp https://commits.kde.org/kmymoney/9d5cd2c67d363d43ef9452b86006ee8ab0887752
Created attachment 111113 [details] test case
Git commit dc939f28e46b28f79fd774ab6c698c012f1535ea by Ralf Habacker. Committed on 02/03/2018 at 08:32. Pushed by habacker into branch '4.8'. Fix 'Ledger search box doesn't support account hierarchy character ":"' FIXED-IN:4.8.2 Test Plan: tested with branch 4.8 Reviewers: #kmymoney Reviewed By: #kmymoney, tbaumgart Subscribers: tbaumgart, wojnilowicz Differential Revision: https://phabricator.kde.org/D8823 M +14 -0 kmymoney/widgets/transaction.cpp https://commits.kde.org/kmymoney/dc939f28e46b28f79fd774ab6c698c012f1535ea
Git commit 887c69c41503a5083c0b8c545160a3173ca94c5d by Thomas Baumgart. Committed on 03/03/2018 at 11:09. Pushed by tbaumgart into branch '5.0'. Fix 'Ledger search box doesn't support account hierarchy character ":"' Test Plan: tested with branch 4.8 and 5.0 Reviewers: #kmymoney Reviewed By: #kmymoney, tbaumgart Subscribers: tbaumgart, wojnilowicz Differential Revision: https://phabricator.kde.org/D8823 (based on commit dc939f28e46b28f79fd774ab6c698c012f1535ea) M +14 -0 kmymoney/widgets/transaction.cpp https://commits.kde.org/kmymoney/887c69c41503a5083c0b8c545160a3173ca94c5d