BUG-14636 New Functionality - To allow set index in tables IMPROVEMENT

- It don't have the functionality.
    - A functionality was added in pmtables and reportTables index.
    - A field was added in table fields FLD_TABLE_INDEX.
This commit is contained in:
Marco Antonio Nina
2014-09-12 12:28:15 -04:00
parent d5babe7774
commit 0df429f409
3 changed files with 9 additions and 3 deletions

View File

@@ -302,7 +302,7 @@ class PmTable
}
// define the Index attribute if it is defined
if ($column->field_index) {
if (isset($column->field_index) && $column->field_index) {
$columnNode->setAttribute( 'index', "true" );
$indexColumnNode = $this->dom->createElement( 'index-column' );
$indexColumnNode->setAttribute( 'name', $column->field_name );