From 62716eb5450369bfa9aae9944e2dcd3cb53a0575 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Wed, 8 Mar 2023 22:59:09 +0800 Subject: [PATCH] Fixed the report chooser to set the current report when the current report is the search page. --- src/accounting/report/reports/utils/report_chooser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/accounting/report/reports/utils/report_chooser.py b/src/accounting/report/reports/utils/report_chooser.py index 4e1e2c8..64906fb 100644 --- a/src/accounting/report/reports/utils/report_chooser.py +++ b/src/accounting/report/reports/utils/report_chooser.py @@ -76,6 +76,8 @@ class ReportChooser: for report in self.__reports: if report.is_active: self.current_report = report.title + if self.is_search: + self.current_report = gettext("Search") @property def __journal(self) -> OptionLink: