From 0777dd26c16a51310aa2aca7671512bc442f650e Mon Sep 17 00:00:00 2001 From: JabLuszko Date: Fri, 5 Jan 2024 19:18:52 +0100 Subject: [PATCH] DataTable pogoauth settings (#1375) 50 results per page, sorted by device column desc (so accounts tied to devices first in results). --- static/madmin/templates/settings_pogoauth.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/madmin/templates/settings_pogoauth.html b/static/madmin/templates/settings_pogoauth.html index 35e8552a2..f9a314066 100644 --- a/static/madmin/templates/settings_pogoauth.html +++ b/static/madmin/templates/settings_pogoauth.html @@ -39,6 +39,10 @@ }); // Toggle on boot toggleConfiguredElement(); + $("#pogoauth_table").DataTable({ + "pageLength": 50, + order: [[2, 'desc']] + }); }); function toggleConfiguredElement() {