--- view_filters_page.php	2006/08/17 13:23:33
+++ view_filters_page.php	2006/08/02 12:25:25
@@ -36,7 +36,12 @@
 			<?php
 			global $t_target_field;
 			if ( $t_target_field ) {
-                print "field_to_focus = \"$t_target_field\";";
+				$f_view_type = gpc_get_string( 'view_type', '' );
+				if ( ( 'hide_status[]' == $t_target_field ) && ( 'advanced' == $f_view_type ) ) {
+					print "field_to_focus = \"show_status[]\";";
+				} else {
+					print "field_to_focus = \"$t_target_field\";";
+				}
 			} else {
 				print "field_to_focus = null;";
 			}
@@ -220,7 +225,11 @@
 	<td class="small-caption" colspan="<?php echo ( 1 * $t_custom_cols ); ?>"><?php echo lang_get( 'status' ) ?></td>
 	<td class="small-caption" colspan="<?php echo ( 1 * $t_custom_cols ); ?>">
 	<?php
-    echo lang_get( 'hide_status' );
+	if ( 'simple' == $f_view_type ) {
+		echo lang_get( 'hide_status' );
+	} else {
+		echo '&nbsp;';
+	}
 	?>
 	</td>
 	<td class="small-caption" colspan="<?php echo ( 1 * $t_custom_cols ); ?>"><?php echo lang_get( 'product_build' ) ?></td>
@@ -242,7 +251,11 @@
 	<!-- Hide Status -->
 	<td valign="top" colspan="<?php echo ( 1 * $t_custom_cols ); ?>">
 	<?php
-    print_filter_hide_status();
+	if ( 'simple' == $f_view_type ) {
+		print_filter_hide_status();
+	} else {
+		echo '&nbsp;';
+	}
 	?>
 	</td>
 	<!-- Build -->
