From f6ef6d9ed1c251f1961b2cd98baab1dda4ba449b Mon Sep 17 00:00:00 2001 From: Carlos Proensa Date: Sun, 28 Aug 2016 14:17:25 +0200 Subject: [PATCH] Do not use FILTER_PROPERTY_HIDE_STATUS for timeline 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 --- core/timeline_api.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/timeline_api.php b/core/timeline_api.php index d709f46c77..abd4f86b8b 100644 --- a/core/timeline_api.php +++ b/core/timeline_api.php @@ -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;