Skip to content

Commit

Permalink
Do not use FILTER_PROPERTY_HIDE_STATUS for timeline
Browse files Browse the repository at this point in the history
To match previous behaviour of Timeline, do not hide bugs based on any
status, even if the default empty filter is configured to do so.

Fixes: #21652
  • Loading branch information
cproensa committed Aug 28, 2016
1 parent 29d359f commit 820c6e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/timeline_api.php
Expand Up @@ -46,6 +46,8 @@ function timeline_events( $p_start_time, $p_end_time, $p_max_events, $p_filter =
if( null === $p_filter ) {
# create an empty filter, to match all bugs
$t_filter = filter_ensure_valid_filter( array() );
# Override the default hide status, to show all bugs
$t_filter[FILTER_PROPERTY_HIDE_STATUS] = array();
}
$t_result = history_get_range_result_filter( $t_filter, $p_start_time, $p_end_time, 'DESC' );
$t_count = 0;
Expand Down

0 comments on commit 820c6e1

Please sign in to comment.