Now when the get_all_relevant_apartments function is called, it filters all the apartments which are already connected and the users which do not have matching preferences.
Also removed the 10 apartments limit.
Manual Tests
Tested two connected users, they did not show in the homepage as expected.
Tested users which do not have matching preferences and they did not show in the homepage as expected.
Description
Now when the
get_all_relevant_apartments
function is called, it filters all the apartments which are already connected and the users which do not have matching preferences.Also removed the 10 apartments limit.
Manual Tests
Tested two connected users, they did not show in the homepage as expected. Tested users which do not have matching preferences and they did not show in the homepage as expected.