@@ 1629-1630 (lines=2) @@ | ||
1626 | ||
1627 | if ( 'single' == pods_var( self::$type . '_format_type', $options, 'single' ) && 'autocomplete' == pods_var( self::$type . '_format_single', $options, 'dropdown' ) ) |
|
1628 | $autocomplete = true; |
|
1629 | elseif ( 'multi' == pods_var( self::$type . '_format_type', $options, 'single' ) && 'autocomplete' == pods_var( self::$type . '_format_multi', $options, 'checkbox' ) ) |
|
1630 | $autocomplete = true; |
|
1631 | ||
1632 | $hierarchy = false; |
|
1633 | ||
@@ 1637-1638 (lines=2) @@ | ||
1634 | if ( 'data' == $context && !$autocomplete ) { |
|
1635 | if ( 'single' == pods_var( self::$type . '_format_type', $options, 'single' ) && in_array( pods_var( self::$type . '_format_single', $options, 'dropdown' ), array( 'dropdown', 'radio' ) ) ) |
|
1636 | $hierarchy = true; |
|
1637 | elseif ( 'multi' == pods_var( self::$type . '_format_type', $options, 'single' ) && in_array( pods_var( self::$type . '_format_multi', $options, 'checkbox' ), array( 'multiselect', 'checkbox' ) ) ) |
|
1638 | $hierarchy = true; |
|
1639 | } |
|
1640 | ||
1641 | if ( $hierarchy && $options[ 'table_info' ][ 'object_hierarchical' ] && !empty( $options[ 'table_info' ][ 'field_parent' ] ) ) |