From 74410e7a1baa4e5844df6df56733bbd05bd8241b Mon Sep 17 00:00:00 2001
From: cfoe <cfoe@ispconfig3>
Date: Fri, 17 Aug 2012 06:30:26 -0400
Subject: [PATCH] fixed display of country in client/reseller list

---
 interface/web/client/list/client.list.php |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/interface/web/client/list/client.list.php b/interface/web/client/list/client.list.php
index 2d45179..900f753 100644
--- a/interface/web/client/list/client.list.php
+++ b/interface/web/client/list/client.list.php
@@ -98,6 +98,11 @@
                             'op'	=> "=",
                             'prefix'	=> "",
                             'suffix'	=> "",
+                            'datasource'=> array (  'type'          => 'SQL',
+                                                    'querystring'   => 'SELECT iso,printable_name FROM country ORDER BY iso ASC',
+                                                    'keyfield'      => 'iso',
+                                                    'valuefield'    => 'printable_name'
+                                                ),
                             'width'	=> "",
                             'value'	=> "");
 

--
Gitblit v1.9.1