Skip to content

Commit

Permalink
Fix searching draft transactions
Browse files Browse the repository at this point in the history
The data was missing for the Report to instantiate a translation.
  • Loading branch information
ehuelsmann committed Nov 9, 2024
1 parent aae1052 commit 0635410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/LedgerSMB/Scripts/drafts.pm
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ sub list_drafts {
$request->open_form;
return $request->render_report(
LedgerSMB::Report::Unapproved::Drafts->new(
$request->%{ qw( reference type ) },
$request->%{ qw( reference type language _locale ) },
formatter_options => $request->formatter_options,
from_date => $request->parse_date( $request->{from_date} ),
to_date => $request->parse_date( $request->{to_date} ),
Expand Down

0 comments on commit 0635410

Please sign in to comment.