diff --git a/de.bxservice.omnisearch/src/de/bxservice/omnisearch/tools/AbstractOmnisearchDocument.java b/de.bxservice.omnisearch/src/de/bxservice/omnisearch/tools/AbstractOmnisearchDocument.java index 189d81b..c71e589 100644 --- a/de.bxservice.omnisearch/src/de/bxservice/omnisearch/tools/AbstractOmnisearchDocument.java +++ b/de.bxservice.omnisearch/src/de/bxservice/omnisearch/tools/AbstractOmnisearchDocument.java @@ -138,7 +138,7 @@ protected HashMap> getFKParentTables(String indexColu String sql = "SELECT AD_COLUMN_ID FROM AD_COLUMN" + " WHERE AD_COLUMN." + indexColumnName + " = 'Y' AND AD_COLUMN.IsActive='Y' AND ColumnSQL IS NULL" + - " AND AD_REFERENCE_ID IN (?,?,?,?,?,?,?,?,?,?)"; + " AND AD_REFERENCE_ID IN (?,?,?,?,?,?,?,?,?,?,?)"; //Bring the column ids from the FK PreparedStatement pstmt = null; @@ -155,6 +155,7 @@ protected HashMap> getFKParentTables(String indexColu pstmt.setInt(8, DisplayType.Locator); pstmt.setInt(9, DisplayType.PAttribute); pstmt.setInt(10, DisplayType.Assignment); + pstmt.setInt(11, DisplayType.RadiogroupList); rs = pstmt.executeQuery(); MColumn column = null; diff --git a/de.bxservice.omnisearch/src/de/bxservice/omnisearch/tools/OmnisearchHelper.java b/de.bxservice.omnisearch/src/de/bxservice/omnisearch/tools/OmnisearchHelper.java index 02742ed..61922a6 100644 --- a/de.bxservice.omnisearch/src/de/bxservice/omnisearch/tools/OmnisearchHelper.java +++ b/de.bxservice.omnisearch/src/de/bxservice/omnisearch/tools/OmnisearchHelper.java @@ -117,7 +117,7 @@ public static Set getForeignTableNames(String indexColumnName, String tr String sql = "SELECT AD_COLUMN_ID FROM AD_COLUMN" + " WHERE AD_COLUMN." + indexColumnName + " = 'Y' AND AD_COLUMN.IsActive='Y' AND ColumnSQL IS NULL" + - " AND AD_REFERENCE_ID IN (?,?,?,?,?,?,?,?,?,?)"; + " AND AD_REFERENCE_ID IN (?,?,?,?,?,?,?,?,?,?,?)"; //Bring the column ids from the FK PreparedStatement pstmt = null; @@ -134,6 +134,7 @@ public static Set getForeignTableNames(String indexColumnName, String tr pstmt.setInt(8, DisplayType.Locator); pstmt.setInt(9, DisplayType.PAttribute); pstmt.setInt(10, DisplayType.Assignment); + pstmt.setInt(11, DisplayType.RadiogroupList); rs = pstmt.executeQuery(); MColumn column = null;