Permalink
Browse files

Reverted sneaked in changes not related to previous commit

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@4468 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information...
1 parent bf9f4f1 commit 5e7619f716b7f9214c849f612bb0870ef83d0a67 @giallu giallu committed with giallu Jul 22, 2007
Showing with 3 additions and 3 deletions.
  1. +3 −3 core/filter_api.php
View
6 core/filter_api.php
@@ -6,7 +6,7 @@
# See the README and LICENSE files for details
# --------------------------------------------------------
- # $Id: filter_api.php,v 1.158 2007-07-22 20:58:47 giallu Exp $
+ # $Id: filter_api.php,v 1.159 2007-07-22 21:03:28 giallu Exp $
# --------------------------------------------------------
$t_core_dir = dirname( __FILE__ ).DIRECTORY_SEPARATOR;
@@ -1312,7 +1312,7 @@ function filter_get_bug_rows( &$p_page_number, &$p_per_page, &$p_page_count, &$p
$t_order = " ORDER BY " . implode( ', ', $t_order_array );
$t_select = implode( ', ', array_unique( $t_select_clauses ) );
- $query2 = "SELECT $t_select
+ $query2 = "SELECT DISTINCT $t_select
$t_from
$t_join
$t_where
@@ -2594,8 +2594,8 @@ function <?php echo $t_js_toggle_func ; ?>() {
<input type="text" size="16" name="search" value="<?php PRINT string_html_specialchars( $t_filter['search'] ); ?>" />
<input type="submit" name="filter" class="button-small" value="<?php PRINT lang_get( 'filter_button' ) ?>" />
- </form>
</td>
+ </form>
<td class="center" colspan="<?php echo ( $t_filter_cols - 6 ) ?>"> <!-- use this label for padding -->
<?php
if ( ON == config_get( 'dhtml_filters' ) ) {

0 comments on commit 5e7619f

Please sign in to comment.