|
@@ 1492-1493 (lines=2) @@
|
| 1489 |
|
|
| 1490 |
|
if ( 'single' == pods_var( self::$type . '_format_type', $options, 'single' ) && 'autocomplete' == pods_var( self::$type . '_format_single', $options, 'dropdown' ) ) |
| 1491 |
|
$autocomplete = true; |
| 1492 |
|
elseif ( 'multi' == pods_var( self::$type . '_format_type', $options, 'single' ) && 'autocomplete' == pods_var( self::$type . '_format_multi', $options, 'checkbox' ) ) |
| 1493 |
|
$autocomplete = true; |
| 1494 |
|
|
| 1495 |
|
$hierarchy = false; |
| 1496 |
|
|
|
@@ 1500-1501 (lines=2) @@
|
| 1497 |
|
if ( 'data' == $context && !$autocomplete ) { |
| 1498 |
|
if ( 'single' == pods_var( self::$type . '_format_type', $options, 'single' ) && in_array( pods_var( self::$type . '_format_single', $options, 'dropdown' ), array( 'dropdown', 'radio' ) ) ) |
| 1499 |
|
$hierarchy = true; |
| 1500 |
|
elseif ( 'multi' == pods_var( self::$type . '_format_type', $options, 'single' ) && in_array( pods_var( self::$type . '_format_multi', $options, 'checkbox' ), array( 'multiselect', 'checkbox' ) ) ) |
| 1501 |
|
$hierarchy = true; |
| 1502 |
|
} |
| 1503 |
|
|
| 1504 |
|
if ( $hierarchy && $options[ 'table_info' ][ 'object_hierarchical' ] && !empty( $options[ 'table_info' ][ 'field_parent' ] ) ) |