diff --git a/webapp_create_post.py b/webapp_create_post.py index 7da6795ca..a453d0a48 100644 --- a/webapp_create_post.py +++ b/webapp_create_post.py @@ -1025,7 +1025,8 @@ def html_new_post(edit_post_params: {}, ' \n' new_post_form += \ - html_following_data_list(base_dir, nickname, domain, domain_full) + html_following_data_list(base_dir, nickname, domain, domain_full, + 'following') new_post_form += '' selected_str = '' diff --git a/webapp_profile.py b/webapp_profile.py index e01576a08..ce55e2ba3 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -63,6 +63,7 @@ from filters import is_filtered from follow import is_follower_of_person from follow import get_follower_domains from webapp_frontscreen import html_front_screen +from webapp_utils import html_following_data_list from webapp_utils import edit_number_field from webapp_utils import html_keyboard_navigation from webapp_utils import html_hide_from_screen_reader @@ -1098,6 +1099,28 @@ def html_profile(signing_priv_key_pem: str, profile_str += ' ' profile_str += '' + # search for following or followers + if authorized: + if selected in ('following', 'followers'): + follow_search_str = '