25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

WebAdmin: Fix number of accounts shown in the online-users page

This commit is contained in:
Badlop 2024-07-14 15:46:29 +02:00
parent 936460212f
commit a70bdc0776

View File

@ -587,7 +587,7 @@ process_admin(Host, #request{path = [<<"online-users">> | RPath], lang = Lang} =
Res = [make_command(connected_users_vhost, Res = [make_command(connected_users_vhost,
R, R,
[{<<"host">>, Host}], [{<<"host">>, Host}],
[{table_options, {2, RPath}}, [{table_options, {100, RPath}},
{result_links, [{sessions, user, Level, <<"">>}]}])], {result_links, [{sessions, user, Level, <<"">>}]}])],
make_xhtml([?XCT(<<"h1">>, ?T("Online Users"))] ++ Res, Host, R, AJID, Level); make_xhtml([?XCT(<<"h1">>, ?T("Online Users"))] ++ Res, Host, R, AJID, Level);
process_admin(Host, process_admin(Host,