Replaced "Need offset" with "Needs Offset" as the text of the badge.

This commit is contained in:
imacat committed 2023-03-20 22:43:53 +08:00
1 parent 9a4531b26c
commit 50dd6078c7
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ def get_account_query() -> list[Account]:
Account.title_l10n.contains(k),
code.contains(k),
Account.id.in_(l10n_matches)]
if k in gettext("Need offset"):
if k in gettext("Needs Offset"):
sub_conditions.append(Account.is_need_offset)
conditions.append(sa.or_(*sub_conditions))