inveniosoftware / react-searchkit

React component library for interacting with a REST API.
https://inveniosoftware.github.io/react-searchkit/
MIT License
78 stars 40 forks source link

fixed bug of pagination disappearing after a custom query state update #202

Closed NRodriguezcuellar closed 2 years ago

NRodriguezcuellar commented 2 years ago

the pagination menu was disappearing after using the custom query build helper of ILS. After investigation i learned that this was because it defaulted back to the initial state if no page number or size was passed while updating the state. It now takes the current values if those 2 properties are not passed with the payload.

closes https://github.com/inveniosoftware/react-invenio-app-ils/issues/344