Skip to content

Commit

Permalink
Enh #3802: Auto-use filter selection on change.
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2597 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
narcissus committed Jun 8, 2004
1 parent 81cd141 commit 8fa1058
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions core/filter_api.php
Expand Up @@ -6,7 +6,7 @@
# See the README and LICENSE files for details

# --------------------------------------------------------
# $Id: filter_api.php,v 1.38 2004-06-08 05:52:13 narcissus Exp $
# $Id: filter_api.php,v 1.39 2004-06-08 06:07:24 narcissus Exp $
# --------------------------------------------------------

$t_core_dir = dirname( __FILE__ ).DIRECTORY_SEPARATOR;
Expand Down Expand Up @@ -1156,7 +1156,13 @@ function filter_draw_selection_area( $p_page_number, $p_for_screen = true )
?>
<form method="get" name="list_queries" action="view_all_set.php">
<input type="hidden" name="type" value="3" />
<select name="source_query_id">
<?php
if ( ON == config_get( 'use_javascript' ) ) {
PRINT '<select name="source_query_id" onchange="document.forms.list_queries.submit();">';
} else {
PRINT '<select name="source_query_id">';
}
?>
<option value="-1"><?php PRINT '[' . lang_get( 'reset_query' ) . ']' ?></option>
<option value="-1"></option>
<?php
Expand Down
1 change: 1 addition & 0 deletions doc/ChangeLog
Expand Up @@ -24,6 +24,7 @@ Mantis ChangeLog
* Enh #3735: New CSS class for HTML Form Buttons
* Enh #3765: Change title on bug details page to bug summary line.
* Enh #3801: Add "myself" meta filter options.
* Enh #3802: Auto-use filter selection on change.
* Enh #3808: Ability to sponsor (fund) a bug or feature request.
* Enh #3811: Allow private flag to be unset on resolved bugs.
* Enh #3841: Add real name ability to mantis.
Expand Down

0 comments on commit 8fa1058

Please sign in to comment.