Code Duplication    Length = 2-2 lines in 2 locations

classes/PodsUI.php 2 locations

@@ 1200-1201 (lines=2) @@
1197
                    $attributes[ 'hidden' ] = false;
1198
                if ( !isset( $attributes[ 'sortable' ] ) || false === $this->sortable )
1199
                    $attributes[ 'sortable' ] = $this->sortable;
1200
                if ( !isset( $attributes[ 'options' ][ 'search' ] ) || false === $this->searchable )
1201
                    $attributes[ 'options' ][ 'search' ] = $this->searchable;
1202
                if ( !isset( $attributes[ 'options' ][ 'filter' ] ) || false === $this->searchable )
1203
                    $attributes[ 'options' ][ 'filter' ] = $this->searchable;
1204
                /*if ( false !== $attributes[ 'options' ][ 'filter' ] && false !== $filterable )
@@ 1202-1203 (lines=2) @@
1199
                    $attributes[ 'sortable' ] = $this->sortable;
1200
                if ( !isset( $attributes[ 'options' ][ 'search' ] ) || false === $this->searchable )
1201
                    $attributes[ 'options' ][ 'search' ] = $this->searchable;
1202
                if ( !isset( $attributes[ 'options' ][ 'filter' ] ) || false === $this->searchable )
1203
                    $attributes[ 'options' ][ 'filter' ] = $this->searchable;
1204
                /*if ( false !== $attributes[ 'options' ][ 'filter' ] && false !== $filterable )
1205
                    $this->filters[] = $field;*/
1206
                if ( false === $attributes[ 'options' ][ 'filter' ] || !isset( $attributes[ 'filter_label' ] ) || !in_array( $field, $this->filters ) )