I am trying to remove certain elements from the ‘Narrow by Specific Fields’ dropdown menu of the ‘Search Fields’. What is the proper way of doing it?
I believe I should change something in the
and this is probably the part that needs to change:
<div class="input advanced-search-element"> <span aria-hidden="true" class="visible-label"><?php echo __('Search Fields'); ?></span> <?php echo $this->formSelect( "advanced[$i][element_id]", @$rows['element_id'], array( 'aria-labelledby' => 'search-narrow-by-fields-label search-row-' . $i . ' search-narrow-by-fields-property', 'id' => null, ), get_table_options('Element', null, array( 'record_types' => array('Item', 'All'), 'sort' => 'orderBySet') ) ); ?> </div>