From f8b4d5b82419b57d9677ea5abd0e21b38132804a Mon Sep 17 00:00:00 2001 From: vogelor Date: Wed, 26 May 2010 09:44:37 +0000 Subject: [PATCH] Enhancement of the Email-Domain-List. The user can only select the server as filter, he has some mail-domains at (and not ALL Servers of the server-farm) --- interface/web/mail/list/mail_domain.list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/web/mail/list/mail_domain.list.php b/interface/web/mail/list/mail_domain.list.php index b116801b8d..2476b067f0 100644 --- a/interface/web/mail/list/mail_domain.list.php +++ b/interface/web/mail/list/mail_domain.list.php @@ -66,7 +66,7 @@ $liste["item"][] = array( 'field' => "server_id", 'prefix' => "%", 'suffix' => "%", 'datasource' => array ( 'type' => 'SQL', - 'querystring' => 'SELECT server_id,server_name FROM server WHERE {AUTHSQL} ORDER BY server_name', + 'querystring' => 'SELECT a.server_id, a.server_name FROM server a, mail_domain b WHERE (a.server_id = b.server_id) AND ({AUTHSQL-B}) ORDER BY a.server_name', 'keyfield'=> 'server_id', 'valuefield'=> 'server_name' ), -- GitLab