Bug 422480

Summary: Search widget in the Budgets view ignores user input
Product: [Applications] kmymoney Reporter: Robert Szczesiak <dev.rszczesiak>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: git (master)   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In: 5.1.0
Sentry Crash Report:
Attachments: Sample file - budget_test.kmy
Search widget in the Budgets view ignoring user input
Fixed search widget in the Budgets view

Description Robert Szczesiak 2020-06-05 11:49:12 UTC
Created attachment 129072 [details]
Sample file - budget_test.kmy

SUMMARY
All Income and Expense categories are displayed in the Budgets view, irrespective of what the user enters in the search widget.

STEPS TO REPRODUCE
1. Open the attached sample file 'budget_test.kmy'
2. Go to the Budgets view and type 'search' in the search widget on the right-hand side.

OBSERVED RESULT
All Income and Expense categories are displayed.

EXPECTED RESULT
Only 'My Test Expense To Search' category should be displayed.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
Please find attached a screenshot presenting the issue.
Comment 1 Robert Szczesiak 2020-06-05 11:49:49 UTC
Created attachment 129073 [details]
Search widget in the Budgets view ignoring user input
Comment 2 Robert Szczesiak 2020-06-05 11:56:15 UTC
Created attachment 129074 [details]
Fixed search widget in the Budgets view
Comment 3 Thomas Baumgart 2020-06-05 17:45:12 UTC
Git commit a6fd92a8c05d10a8f3c2790bbfbd6cee62683186 by Thomas Baumgart, on behalf of Robert Szczesiak.
Committed on 05/06/2020 at 17:45.
Pushed by tbaumgart into branch 'master'.

Fix search widget in the Budgets view ignoring user input

All Income and Expense categories were displayed in the Budgets view,
irrespective of what the user entered in the search widget.

This commit fixes budget category filtering.
Signed-off-by: Robert Szczesiak <dev.rszczesiak@gmail.com>

M  +3    -2    kmymoney/widgets/budgetviewproxymodel.cpp

https://invent.kde.org/office/kmymoney/commit/a6fd92a8c05d10a8f3c2790bbfbd6cee62683186
Comment 4 Thomas Baumgart 2020-06-05 17:49:03 UTC
Git commit c26e73b1b51b3e3cd6b6470c3efae440aaa84761 by Thomas Baumgart.
Committed on 05/06/2020 at 17:48.
Pushed by tbaumgart into branch '5.1'.

Fix search widget in the Budgets view ignoring user input

All Income and Expense categories were displayed in the Budgets view,
irrespective of what the user entered in the search widget.

This commit fixes budget category filtering.
FIXED-IN: 5.1.0

Signed-off-by: Robert Szczesiak <dev.rszczesiak@gmail.com>
(cherry picked from commit a6fd92a8c05d10a8f3c2790bbfbd6cee62683186)

M  +3    -2    kmymoney/widgets/budgetviewproxymodel.cpp

https://invent.kde.org/office/kmymoney/commit/c26e73b1b51b3e3cd6b6470c3efae440aaa84761