From 4dc8e67652517adbd49b64481e699c730ea67ca3 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Wed, 11 Apr 2018 16:35:21 -0700 Subject: [PATCH] size() is the right operator in short_bug_status, not count() --- templates/en_US/cgi/short_bug_status.tx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/en_US/cgi/short_bug_status.tx b/templates/en_US/cgi/short_bug_status.tx index 1952173..ccca13a 100644 --- a/templates/en_US/cgi/short_bug_status.tx +++ b/templates/en_US/cgi/short_bug_status.tx @@ -10,19 +10,19 @@ <: $config.tags_single_letter[$tag] :><:- } -:> : } <:- if $status.tags_array.size() == 0 { -:>  <: } :>| - <:- if $status.mergedwith_array.count > 0 { -:> + <:- if $status.mergedwith_array.size() > 0 { -:> = <:- } -:> - <:- if $status.fixed_versions.count > 0 { -:> + <:- if $status.fixed_versions.size() > 0 { -:> ☺ <:- } -:> - <:- if $status.fixed_versions.count > 0 { -:> + <:- if $status.fixed_versions.size() > 0 { -:> ☺ <:- } -:> - <:- if $status.blockedby_array.count > 0 { -:> + <:- if $status.blockedby_array.size() > 0 { -:> ♙ <:- } -:> - <:- if $status.blocks_array.count > 0 { -:> + <:- if $status.blocks_array.size() > 0 { -:> ♔ <:- } -:> <:- if length($status.forwarded) { -:> -- 2.39.2