homeflowjs 0.14.1 → 0.14.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -147,7 +147,7 @@ export const loadNext = () => (dispatch, getState) => {
|
|
147
147
|
dispatch(setLoading({ properties: true }));
|
148
148
|
// set page on search to page + 1
|
149
149
|
let newProperties = [...getState().properties.properties];
|
150
|
-
const nextPageSearch = { ...getState().search.
|
150
|
+
const nextPageSearch = { ...getState().search.currentSearch };
|
151
151
|
nextPageSearch.page = nextPageSearch.page ? nextPageSearch.page + 1 : 2;
|
152
152
|
// conduct search ljson
|
153
153
|
return fetch(`/search.ljson?${buildQueryString(nextPageSearch)}`)
|