You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seem to be a lot of descrepancies (i.e. problems) with how Fava does unit conversions when compared to Beancount/bean-query. In this bug, we focus on how querying inside of Fava breaks when filters are applied in Fava.
When filtering, Fava runs the query on the filtered list of entries - so it is quite expected that the output changes when the filter changes. For most other reports, the filtering has no impact on the price conversions, since we always use the price map that was built from all the prices. However, to the Beancount functions that we currently use we can not separately pass a price map, so if most prices are filtered out, the result will change as you observed.
For account, tag, payee filters, I believe filtering out the prices is not ideal, those filters could be adjusted. For the time filter, I'm not quite sure yet whether we should change the behaviour (if I currently filter to 2022, conversion will also only consider prices from 2022 - that might be a useful behaviour for some queries).
There seem to be a lot of descrepancies (i.e. problems) with how Fava does unit conversions when compared to Beancount/
bean-query
. In this bug, we focus on how querying inside of Fava breaks when filters are applied in Fava.Steps to reproduce
CONVERT
in it:CONVERT
to it:Other notes
Filtering in the query in Fava is fine
Fava can also be off-by-one from
bean-query
Some date filters seem to work while others do not?
Selecting filter 2023 in my case yields:
While selecting filter 2020 yields:
The text was updated successfully, but these errors were encountered: