From 5631f27783c984627837b942f3939c7998ff04b6 Mon Sep 17 00:00:00 2001 From: JabLuszko Date: Fri, 5 Jan 2024 19:02:53 +0100 Subject: [PATCH] DataTable pogoauth settings 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() {