Code Duplication    Length = 2-2 lines in 2 locations

classes/PodsUI.php 2 locations

@@ 1180-1181 (lines=2) @@
1177
                    $attributes[ 'hidden' ] = false;
1178
                if ( !isset( $attributes[ 'sortable' ] ) || false === $this->sortable )
1179
                    $attributes[ 'sortable' ] = $this->sortable;
1180
                if ( !isset( $attributes[ 'options' ][ 'search' ] ) || false === $this->searchable )
1181
                    $attributes[ 'options' ][ 'search' ] = $this->searchable;
1182
                if ( !isset( $attributes[ 'options' ][ 'filter' ] ) || false === $this->searchable )
1183
                    $attributes[ 'options' ][ 'filter' ] = $this->searchable;
1184
                /*if ( false !== $attributes[ 'options' ][ 'filter' ] && false !== $filterable )
@@ 1182-1183 (lines=2) @@
1179
                    $attributes[ 'sortable' ] = $this->sortable;
1180
                if ( !isset( $attributes[ 'options' ][ 'search' ] ) || false === $this->searchable )
1181
                    $attributes[ 'options' ][ 'search' ] = $this->searchable;
1182
                if ( !isset( $attributes[ 'options' ][ 'filter' ] ) || false === $this->searchable )
1183
                    $attributes[ 'options' ][ 'filter' ] = $this->searchable;
1184
                /*if ( false !== $attributes[ 'options' ][ 'filter' ] && false !== $filterable )
1185
                    $this->filters[] = $field;*/
1186
                if ( false === $attributes[ 'options' ][ 'filter' ] || !isset( $attributes[ 'filter_label' ] ) || !in_array( $field, $this->filters ) )