Skip to content

Commit 993bb54

Browse files
committed
Set alphabetic sorting order for dns list and sys user list.
1 parent abec04f commit 993bb54

File tree

2 files changed

+25
-23
lines changed

2 files changed

+25
-23
lines changed

interface/web/admin/users_list.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
$app->auth->check_module_permissions('admin');
4646

4747
$app->uses('listform_actions');
48+
$app->listform_actions->SQLOrderBy = 'ORDER BY username';
4849
$app->listform_actions->onLoad();
4950

5051

interface/web/dns/dns_soa_list.php

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
1-
<?php
2-
require_once('../../lib/config.inc.php');
3-
require_once('../../lib/app.inc.php');
4-
5-
/******************************************
6-
* Begin Form configuration
7-
******************************************/
8-
9-
$list_def_file = "list/dns_soa.list.php";
10-
11-
/******************************************
12-
* End Form configuration
13-
******************************************/
14-
15-
//* Check permissions for module
16-
$app->auth->check_module_permissions('dns');
17-
18-
$app->uses('listform_actions');
19-
// $app->listform_actions->SQLExtWhere = "access = 'REJECT'";
20-
21-
$app->listform_actions->onLoad();
22-
23-
1+
<?php
2+
require_once('../../lib/config.inc.php');
3+
require_once('../../lib/app.inc.php');
4+
5+
/******************************************
6+
* Begin Form configuration
7+
******************************************/
8+
9+
$list_def_file = "list/dns_soa.list.php";
10+
11+
/******************************************
12+
* End Form configuration
13+
******************************************/
14+
15+
//* Check permissions for module
16+
$app->auth->check_module_permissions('dns');
17+
18+
$app->uses('listform_actions');
19+
// $app->listform_actions->SQLExtWhere = "access = 'REJECT'";
20+
21+
$app->listform_actions->SQLOrderBy = 'ORDER BY origin';
22+
$app->listform_actions->onLoad();
23+
24+
2425
?>

0 commit comments

Comments
 (0)