aboutsummaryrefslogtreecommitdiff
path: root/client/src/View
diff options
context:
space:
mode:
authorJoris2020-01-04 19:26:08 +0100
committerJoris2020-01-04 19:26:08 +0100
commitcdb0ae1aeb22d7d7c36acb9d580f3723aa469829 (patch)
tree2e57add32a18a510dc544dd44db3c5f6f7cf2091 /client/src/View
parentda2a0c13aa89705c65fdb9df2f496fb4eea29654 (diff)
Go to page 1 when switching the search frequency
Diffstat (limited to 'client/src/View')
-rw-r--r--client/src/View/Payment/Reducer.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/View/Payment/Reducer.hs b/client/src/View/Payment/Reducer.hs
index 7468097..3fe59b2 100644
--- a/client/src/View/Payment/Reducer.hs
+++ b/client/src/View/Payment/Reducer.hs
@@ -68,7 +68,7 @@ reducer input = do
Just $ params { _params_search = search, _params_page = _params_page initParams }
Frequency frequency ->
- Just $ params { _params_frequency = frequency }
+ Just $ params { _params_frequency = frequency, _params_page = _params_page initParams }
ResetSearch ->
Just $ initParams { _params_frequency = _params_frequency params }