Permalink
Browse files

Project filter display [] around 'current'

For consistency with other meta filters like [any], [myself], we now
display '[current]' instead of 'current'
  • Loading branch information...
1 parent 137d2b6 commit 9344965541082b97926abc4a0458f872e453c90c @dregad dregad committed Jan 31, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/filter_api.php
View
@@ -3387,7 +3387,7 @@ function filter_draw_selection_area2( $p_page_number, $p_for_screen = true, $p_e
echo '<input type="hidden" name="', FILTER_PROPERTY_PROJECT_ID, '[]" value="', string_attribute( $t_current ), '" />';
$t_this_name = '';
if( META_FILTER_CURRENT == $t_current ) {
- $t_this_name = lang_get( 'current' );
+ $t_this_name = '[' . lang_get( 'current' ) . ']';
} else {
$t_this_name = project_get_name( $t_current, false );
}

0 comments on commit 9344965

Please sign in to comment.