Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
0004108: [filters] "Use Date Filters" in advanced filters
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2746 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
narcissus committed Jul 24, 2004
1 parent 2078603 commit bf4f9d1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 4 additions & 3 deletions doc/ChangeLog
Expand Up @@ -4,9 +4,10 @@ Mantis ChangeLog

- 0004137: [feature] Support a simple "view" URL (vboctor)
- 0004145: [feature] Mantis pages should have descriptive titles (vboctor)
- 0003880: [filters] Ordering doesnt take last_updated into account
- 0004073: [filters] Edit filter page now too wide. 'Apply filter' button is drawn off screen.
- 0004093: [filters] Custom field values are a larger type size in view_all_bug_page
- 0003880: [filters] Ordering doesnt take last_updated into account (narcissus)
- 0004073: [filters] Edit filter page now too wide. 'Apply filter' button is drawn off screen (narcissus)
- 0004093: [filters] Custom field values are a larger type size in view_all_bug_page (narcissus)
- 0004108: [filters] "Use Date Filters" in advanced filters (narcissus)
- 0004150: [filters] Custom field names are not localised in filters (vboctor)
- 0004122: [relationships] Upgrade script seems to swap the duplicate relationship (masc)
- 0004083: [sponsorships] Users without email address must not be able to sponsor issues (thraxisp)
Expand Down
7 changes: 6 additions & 1 deletion view_filters_page.php
Expand Up @@ -32,7 +32,12 @@ function SetInitialFocus() {
<?php
$t_target_field = gpc_get_string( '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;";
}
Expand Down

0 comments on commit bf4f9d1

Please sign in to comment.