Skip to content

Commit

Permalink
fix: account for fava GUI filters
Browse files Browse the repository at this point in the history
  • Loading branch information
redstreet committed Jan 19, 2025
1 parent 99b8c5b commit 5238c85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fava_investor/common/favainvestorapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def query_func(self, sql):
# Based on the fava version, determine if we need to add a new
# positional argument to fava's execute_query()
if version.parse(fava_version) >= version.parse("1.30"):
rtypes, rrows = query.run_query(g.ledger.all_entries, g.ledger.options, sql)
rtypes, rrows = query.run_query(g.filtered.entries, g.ledger.options, sql)

# Convert this into Beancount v2 format, so the rows are namedtuples
field_names = [t.name for t in rtypes]
Expand Down

0 comments on commit 5238c85

Please sign in to comment.