Add device key vendor to assign a key to a vendor.

This commit is contained in:
markjcrane
2015-07-07 14:25:00 -03:00
parent ae99066dcd
commit 2b150eca0d
5 changed files with 59 additions and 26 deletions
@@ -466,7 +466,7 @@ include "root.php";
$sql .= "or device_profile_uuid = '".$device_profile_uuid."' ";
}
$sql .= ") ";
//$sql .= "AND domain_uuid = '".$domain_uuid."' ";
$sql .= "AND (device_key_vendor = '".$device_vendor."' or device_key_vendor is null) ";
$sql .= "ORDER BY device_key_category asc, device_key_id asc, device_uuid desc";
$prep_statement = $this->db->prepare(check_sql($sql));
$prep_statement->execute();