| @@ 1685-1691 (lines=7) @@ | ||
| 1682 | ) |
|
| 1683 | ); |
|
| 1684 | ||
| 1685 | if ( 'data' === $context ) { |
|
| 1686 | self::$field_data = array( |
|
| 1687 | 'field' => $name, |
|
| 1688 | 'id' => $options['id'], |
|
| 1689 | 'autocomplete' => false, |
|
| 1690 | ); |
|
| 1691 | } |
|
| 1692 | ||
| 1693 | $simple = true; |
|
| 1694 | ||
| @@ 1948-1954 (lines=7) @@ | ||
| 1945 | $autocomplete = false; |
|
| 1946 | } |
|
| 1947 | ||
| 1948 | if ( 'data' === $context ) { |
|
| 1949 | self::$field_data = array( |
|
| 1950 | 'field' => $name, |
|
| 1951 | 'id' => $options['id'], |
|
| 1952 | 'autocomplete' => $autocomplete, |
|
| 1953 | ); |
|
| 1954 | } |
|
| 1955 | ||
| 1956 | if ( $hierarchy && ! $autocomplete && ! empty( $results ) && $options['table_info']['object_hierarchical'] && ! empty( $options['table_info']['field_parent'] ) ) { |
|
| 1957 | $select_args = array( |
|