Commit aff9acb4 authored by Florian Schaal's avatar Florian Schaal
Browse files

hide mirror-server from several lists / forms

parent ae9ca85a
...@@ -65,7 +65,7 @@ $liste["item"][] = array( 'field' => "server_id", ...@@ -65,7 +65,7 @@ $liste["item"][] = array( 'field' => "server_id",
'prefix' => "%", 'prefix' => "%",
'suffix' => "%", 'suffix' => "%",
'datasource' => array ( 'type' => 'SQL', 'datasource' => array ( 'type' => 'SQL',
'querystring' => 'SELECT server_id,server_name FROM server WHERE {AUTHSQL} ORDER BY server_name', 'querystring' => 'SELECT server_id,server_name FROM server WHERE {AUTHSQL} AND mirror_server_id = 0 ORDER BY server_name',
'keyfield'=> 'server_id', 'keyfield'=> 'server_id',
'valuefield'=> 'server_name' 'valuefield'=> 'server_name'
), ),
......
...@@ -65,7 +65,7 @@ $liste["item"][] = array( 'field' => "server_id", ...@@ -65,7 +65,7 @@ $liste["item"][] = array( 'field' => "server_id",
'prefix' => "%", 'prefix' => "%",
'suffix' => "%", 'suffix' => "%",
'datasource' => array ( 'type' => 'SQL', 'datasource' => array ( 'type' => 'SQL',
'querystring' => 'SELECT server_id,server_name FROM server WHERE {AUTHSQL} ORDER BY server_name', 'querystring' => 'SELECT server_id,server_name FROM server WHERE {AUTHSQL} and mirror_server_id = 0 ORDER BY server_name',
'keyfield'=> 'server_id', 'keyfield'=> 'server_id',
'valuefield'=> 'server_name' 'valuefield'=> 'server_name'
), ),
......
...@@ -54,7 +54,7 @@ $liste["item"][] = array( 'field' => "server_id", ...@@ -54,7 +54,7 @@ $liste["item"][] = array( 'field' => "server_id",
'prefix' => "", 'prefix' => "",
'suffix' => "", 'suffix' => "",
'datasource' => array ( 'type' => 'SQL', 'datasource' => array ( 'type' => 'SQL',
'querystring' => 'SELECT server_id, server_name FROM server WHERE vserver_server = 1 ORDER BY server_name', 'querystring' => 'SELECT server_id, server_name FROM server WHERE vserver_server = 1 AND mirror_server_id = 0 ORDER BY server_name',
'keyfield'=> 'server_id', 'keyfield'=> 'server_id',
'valuefield'=> 'server_name' 'valuefield'=> 'server_name'
), ),
......
...@@ -82,7 +82,7 @@ $liste["item"][] = array( 'field' => "server_id", ...@@ -82,7 +82,7 @@ $liste["item"][] = array( 'field' => "server_id",
'prefix' => "", 'prefix' => "",
'suffix' => "", 'suffix' => "",
'datasource' => array ( 'type' => 'SQL', 'datasource' => array ( 'type' => 'SQL',
'querystring' => 'SELECT server_id, server_name FROM server WHERE vserver_server = 1 ORDER BY server_name', 'querystring' => 'SELECT server_id, server_name FROM server WHERE vserver_server = 1 AND mirror_server_id = 0 ORDER BY server_name',
'keyfield'=> 'server_id', 'keyfield'=> 'server_id',
'valuefield'=> 'server_name' 'valuefield'=> 'server_name'
), ),
......
...@@ -72,7 +72,7 @@ $liste["item"][] = array( 'field' => "server_id", ...@@ -72,7 +72,7 @@ $liste["item"][] = array( 'field' => "server_id",
'prefix' => "", 'prefix' => "",
'suffix' => "", 'suffix' => "",
'datasource' => array ( 'type' => 'SQL', 'datasource' => array ( 'type' => 'SQL',
'querystring' => 'SELECT server_id, server_name FROM server WHERE vserver_server = 1 ORDER BY server_name', 'querystring' => 'SELECT server_id, server_name FROM server WHERE vserver_server = 1 AND mirror_server_id = 0 ORDER BY server_name',
'keyfield'=> 'server_id', 'keyfield'=> 'server_id',
'valuefield'=> 'server_name' 'valuefield'=> 'server_name'
), ),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment