</td>
	<!-- Highlight changed bugs -->
	<td valign="top" colspan="<?php 
echo 1 * $t_custom_cols;
?>
">
		<?php 
print_filter_highlight_changed();
?>
	</td>
	<td valign="top" class="left" colspan="<?php 
echo 3 * $t_custom_cols;
?>
">
		<?php 
print_filter_do_filter_by_date(true);
# hide checkbox as it's already been shown
?>
	</td>
	<td valign="top" colspan="<?php 
echo 1 * $t_custom_cols;
?>
">
        <?php 
print_filter_relationship_type();
?>
	</td>
	<!-- <td colspan="<?php 
echo ($t_filter_cols - 8) * $t_custom_cols;
?>
">&nbsp;</td> -->
		<?php print_filter_per_page(); ?>
	</td>
	<!-- View Status -->
	<td colspan="<?php echo ( 1 * $t_custom_cols ); ?>">
		<?php print_filter_view_state(); ?>
	</td>
	<!-- Show Sticky bugs -->
	<td colspan="<?php echo ( 1 * $t_custom_cols ); ?>">
		<?php print_filter_sticky_issues(); ?>
	</td>
	<!-- Highlight changed bugs -->
	<td colspan="<?php echo ( 1 * $t_custom_cols ); ?>">
		<?php print_filter_highlight_changed(); ?>
	</td>
	<td class="left" colspan="<?php echo ( 3 * $t_custom_cols ); ?>">
		<?php print_filter_do_filter_by_date( true ); # hide checkbox as it's already been shown ?>
	</td>
	<td colspan="<?php echo ( 1 * $t_custom_cols ); ?>">
        <?php print_filter_relationship_type(); ?>
	</td>
	<!-- <td colspan="<?php echo ( ( $t_filter_cols - 8 ) * $t_custom_cols ); ?>">&#160;</td> -->
</tr>

<?php
if ( ON == config_get( 'filter_by_custom_fields' ) ) {

	# -- Custom Field Searching --
	if ( count( $t_accessible_custom_fields_ids ) > 0 ) {
		$t_per_row = config_get( 'filter_custom_fields_per_row' );
		$t_num_rows = ceil( count( $t_accessible_custom_fields_ids ) / $t_per_row );
		$t_base = 0;