Skip to content

Commit

Permalink
Cache attachment count in my view page
Browse files Browse the repository at this point in the history
After refactoring the bug attachment count cache:
(see 624982b, issue #20138).

My-view page needs to call explicitly to bug_cache_columns_data() with
the fetched bugs.
  • Loading branch information
cproensa authored and dregad committed Nov 26, 2016
1 parent c8c4aa2 commit c851b37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions my_view_inc.php
Expand Up @@ -277,6 +277,8 @@
category_cache_array_rows( array_unique( $t_categories ) );
}

bug_cache_columns_data( $t_rows , array( 'attachment_count' ) );

$t_filter = array_merge( $c_filter[$t_box_title], $t_filter );

$t_box_title_label = lang_get( 'my_view_title_' . $t_box_title );
Expand Down

0 comments on commit c851b37

Please sign in to comment.