summaryrefslogtreecommitdiffstats
path: root/modules-available/dozmod
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/dozmod')
-rw-r--r--modules-available/dozmod/pages/users.inc.php4
-rw-r--r--modules-available/dozmod/templates/userlist.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/modules-available/dozmod/pages/users.inc.php b/modules-available/dozmod/pages/users.inc.php
index 23457ca6..a81bcb8b 100644
--- a/modules-available/dozmod/pages/users.inc.php
+++ b/modules-available/dozmod/pages/users.inc.php
@@ -46,7 +46,7 @@ class SubPage
$row['canlogin'] = self::checked($row['canlogin']);
$row['issuperuser'] = self::checked($row['issuperuser']);
$row['emailnotifications'] = self::checked($row['emailnotifications']);
- $row['lastlogin'] = date('d.m.Y', $row['lastlogin']);
+ $row['lastlogin_s'] = date('d.m.Y', $row['lastlogin']);
$rows[] = $row;
}
Render::addTemplate('userlist', array(
@@ -122,4 +122,4 @@ class SubPage
die($val);
}
-} \ No newline at end of file
+}
diff --git a/modules-available/dozmod/templates/userlist.html b/modules-available/dozmod/templates/userlist.html
index 3b919099..6b19907d 100644
--- a/modules-available/dozmod/templates/userlist.html
+++ b/modules-available/dozmod/templates/userlist.html
@@ -28,7 +28,7 @@
</{{nameTag}}>
</td>
<td class="text-left text-nowrap">{{orgname}}</td>
- <td class="text-left text-nowrap">{{lastlogin}}</td>
+ <td class="text-left text-nowrap" data-sort-value="{{lastlogin}}">{{lastlogin_s}}</td>
<td class="text-left text-nowrap"><a href="mailto:{{email}}">{{email}}</a></td>
<td>
<div class="checkbox">