diff options
author | Joris | 2020-01-04 19:26:08 +0100 |
---|---|---|
committer | Joris | 2020-01-04 19:26:08 +0100 |
commit | cdb0ae1aeb22d7d7c36acb9d580f3723aa469829 (patch) | |
tree | 2e57add32a18a510dc544dd44db3c5f6f7cf2091 | |
parent | da2a0c13aa89705c65fdb9df2f496fb4eea29654 (diff) |
Go to page 1 when switching the search frequency
-rw-r--r-- | client/src/View/Payment/Reducer.hs | 2 |
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 } |