Commit 45ddfc76 authored by Laurent Lécluse's avatar Laurent Lécluse
Browse files

Ne pas prendre en compte les colonnes cachées

parent ad89fcae
...@@ -56,7 +56,7 @@ class SchemaService extends AbstractService ...@@ -56,7 +56,7 @@ class SchemaService extends AbstractService
/* Récupération des colonnes des tableaux de bord */ /* Récupération des colonnes des tableaux de bord */
if ($tables) { if ($tables) {
$sql = "SELECT TABLE_NAME, COLUMN_NAME, NULLABLE FROM USER_TAB_COLS WHERE " $sql = "SELECT TABLE_NAME, COLUMN_NAME, NULLABLE FROM USER_TAB_COLS WHERE "
. "TABLE_NAME IN ('" . implode("','", array_keys($tables)) . "') ORDER BY COLUMN_ID"; . "TABLE_NAME IN ('" . implode("','", array_keys($tables)) . "') AND hidden_column = 'NO' ORDER BY COLUMN_ID";
$d = $this->query($sql, []); $d = $this->query($sql, []);
......
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