ui: fix a regression, empty register of depth-limited account (fix #1208)
This commit is contained in:
parent
e0cbcd3e2e
commit
c1488db4f1
@ -69,7 +69,7 @@ rsInit d reset ui@UIState{aopts=_uopts@UIOpts{cliopts_=CliOpts{reportopts_=ropts
|
|||||||
ropts' = ropts{
|
ropts' = ropts{
|
||||||
depth_=Nothing
|
depth_=Nothing
|
||||||
}
|
}
|
||||||
q = And [queryFromOpts d ropts, excludeforecastq (forecast_ ropts)]
|
q = And [queryFromOpts d ropts', excludeforecastq (forecast_ ropts)]
|
||||||
where
|
where
|
||||||
-- Except in forecast mode, exclude future/forecast transactions.
|
-- Except in forecast mode, exclude future/forecast transactions.
|
||||||
excludeforecastq True = Any
|
excludeforecastq True = Any
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user