diff --git a/app/scodoc/sco_users.py b/app/scodoc/sco_users.py index 8ae260827..868f6deca 100644 --- a/app/scodoc/sco_users.py +++ b/app/scodoc/sco_users.py @@ -263,7 +263,11 @@ def list_users( html_class="table_leftalign list_users", html_with_td_classes=True, html_sortable=True, - base_url="%s?all_depts=%s" % (request.base_url, 1 if all_depts else 0), + base_url=f"""{request.base_url}?all_depts={ + 1 if all_depts else 0}&with_inactives={ + 1 if with_inactives else 0}&having_role_name={ + having_role.name if having_role else ''}&detail_roles={ + 1 if detail_roles else 0}""", pdf_link=False, # table is too wide to fit in a paper page => disable pdf preferences=sco_preferences.SemPreferences(), table_id="list-users",