1
0
forked from ScoDoc/ScoDoc

Table utilisateurs: lien export excel

This commit is contained in:
Emmanuel Viennet 2024-09-05 18:27:03 +02:00
parent 415e37ab67
commit 322870c7e9

View File

@ -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",