When the action resetQuery is triggered there is no way to choose how to reset the query state. This PR gives the resetQuery action a payload that can be passed from components that override e.g the EmptyResults component. By doing that you can control the default query after the reset action is triggered!
closes inveniosoftware/invenio-app-rdm#531
When the action
resetQuery
is triggered there is no way to choose how to reset the query state. This PR gives the resetQuery action a payload that can be passed from components that override e.g the EmptyResults component. By doing that you can control the default query after the reset action is triggered!