Code Duplication    Length = 2-2 lines in 2 locations

classes/PodsUI.php 2 locations

@@ 1194-1195 (lines=2) @@
1191
                    $attributes[ 'hidden' ] = false;
1192
                if ( !isset( $attributes[ 'sortable' ] ) || false === $this->sortable )
1193
                    $attributes[ 'sortable' ] = $this->sortable;
1194
                if ( !isset( $attributes[ 'options' ][ 'search' ] ) || false === $this->searchable )
1195
                    $attributes[ 'options' ][ 'search' ] = $this->searchable;
1196
                if ( !isset( $attributes[ 'options' ][ 'filter' ] ) || false === $this->searchable )
1197
                    $attributes[ 'options' ][ 'filter' ] = $this->searchable;
1198
                /*if ( false !== $attributes[ 'options' ][ 'filter' ] && false !== $filterable )
@@ 1196-1197 (lines=2) @@
1193
                    $attributes[ 'sortable' ] = $this->sortable;
1194
                if ( !isset( $attributes[ 'options' ][ 'search' ] ) || false === $this->searchable )
1195
                    $attributes[ 'options' ][ 'search' ] = $this->searchable;
1196
                if ( !isset( $attributes[ 'options' ][ 'filter' ] ) || false === $this->searchable )
1197
                    $attributes[ 'options' ][ 'filter' ] = $this->searchable;
1198
                /*if ( false !== $attributes[ 'options' ][ 'filter' ] && false !== $filterable )
1199
                    $this->filters[] = $field;*/
1200
                if ( false === $attributes[ 'options' ][ 'filter' ] || !isset( $attributes[ 'filter_label' ] ) || !in_array( $field, $this->filters ) )