Browse Source

Update app_defaults.php

FusionPBX 6 years ago
parent
commit
f82c37ce23
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/users/app_defaults.php

+ 1 - 1
core/users/app_defaults.php

@@ -32,7 +32,7 @@ if ($domains_processed == 1) {
 
 
 	//create the user view combines username, organization, contact first and last name
 	//create the user view combines username, organization, contact first and last name
 		$sql = "CREATE OR REPLACE VIEW view_users AS (\n";
 		$sql = "CREATE OR REPLACE VIEW view_users AS (\n";
-		$sql .= "	select u.domain_uuid, u.user_uuid, u.username, u.user_enabled, \n";
+		$sql .= "	select u.domain_uuid, u.user_uuid, d.domain_name, u.username, u.user_enabled, \n";
 		$sql .= "	c.contact_uuid, c.contact_organization, c.contact_name_given, c.contact_name_family,\n";
 		$sql .= "	c.contact_uuid, c.contact_organization, c.contact_name_given, c.contact_name_family,\n";
 		$sql .= "	(\n";
 		$sql .= "	(\n";
 		$sql .= "		select\n";
 		$sql .= "		select\n";