You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On search-filter branch there is a problem with the home route search returning no results. This causes an undefined object error when the empty property listings are displayed.
The problem is caused by the function parseSearchParamObject (params: any, filters: Array) in utils/filterHelper.ts.
The function is passed an empty params object as the function was developed first for the filtered search page.
To solve this, the redirect function in the SearchPreferencesForm.tsx component needs to get all property types from the DB and add them as to the query string parameters in the router.push call.
The text was updated successfully, but these errors were encountered:
On search-filter branch there is a problem with the home route search returning no results. This causes an undefined object error when the empty property listings are displayed.
The problem is caused by the function parseSearchParamObject (params: any, filters: Array) in utils/filterHelper.ts.
The function is passed an empty params object as the function was developed first for the filtered search page.
To solve this, the redirect function in the SearchPreferencesForm.tsx component needs to get all property types from the DB and add them as to the query string parameters in the router.push call.
The text was updated successfully, but these errors were encountered: