From 06e41b251c3f1384253e3dec33cd32aa576854d2 Mon Sep 17 00:00:00 2001
From: mike_p <mike_p@ispconfig3>
Date: Wed, 26 May 2010 13:08:49 +0000
Subject: [PATCH] changed filter query to exact match for parent_domain_id as
 per bug #1177

---
 interface/web/sites/list/shell_user.list.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/interface/web/sites/list/shell_user.list.php b/interface/web/sites/list/shell_user.list.php
index a1b057668..440bdccc5 100644
--- a/interface/web/sites/list/shell_user.list.php
+++ b/interface/web/sites/list/shell_user.list.php
@@ -75,9 +75,9 @@ $liste["item"][] = array(	'field'		=> "server_id",
 $liste["item"][] = array(	'field'		=> "parent_domain_id",
 							'datatype'	=> "VARCHAR",
 							'formtype'	=> "SELECT",
-							'op'		=> "like",
-							'prefix'	=> "%",
-							'suffix'	=> "%",
+							'op'		=> "=",
+							'prefix'	=> "",
+							'suffix'	=> "",
 							'datasource'	=> array ( 	'type'	=> 'SQL',
 										'querystring' => "SELECT domain_id,domain FROM web_domain WHERE type = 'vhost' AND {AUTHSQL} ORDER BY domain",
 										'keyfield'=> 'domain_id',
-- 
GitLab