diff --git a/FrontEnd/src/components/profileList/ProfileListPage.jsx b/FrontEnd/src/components/profileList/ProfileListPage.jsx index bd3c4369b..36b247382 100644 --- a/FrontEnd/src/components/profileList/ProfileListPage.jsx +++ b/FrontEnd/src/components/profileList/ProfileListPage.jsx @@ -29,7 +29,6 @@ export default function ProfileListPage({ isAuthorized }) { useEffect(() => { setProfileFilter(FILTER_MAP[filter]); setFilterSaved(false); - setCurrentPage(1); }, [filter]); const urlForAll = `${process.env.REACT_APP_BASE_API_URL}/api/profiles/?${profileFilter}&page=${currentPage}`; diff --git a/search/tests.py b/search/tests.py index eb7c2124c..df3e37e10 100644 --- a/search/tests.py +++ b/search/tests.py @@ -5,6 +5,7 @@ from profiles.factories import ( ProfileStartupFactory, ProfileCompanyFactory, + ActivityFactory, ) from utils.dump_response import dump # noqa