]> git.donarmstrong.com Git - debbugs.git/commitdiff
size() is the right operator in short_bug_status, not count()
authorDon Armstrong <don@donarmstrong.com>
Wed, 11 Apr 2018 23:35:21 +0000 (16:35 -0700)
committerDon Armstrong <don@donarmstrong.com>
Wed, 11 Apr 2018 23:35:21 +0000 (16:35 -0700)
templates/en_US/cgi/short_bug_status.tx

index 1952173a7c65521f2ec9df745c09381554a9e318..ccca13aea39b3a7683aa977d1fd43f1b4ea86aaa 100644 (file)
       <abbr title="<: $tag :>"><: $config.tags_single_letter[$tag] :></abbr><:- } -:>
       : }
           <:- if $status.tags_array.size() == 0 { -:>&nbsp;&nbsp;<: } :>|
-          <:- if $status.mergedwith_array.count > 0 { -:>
+          <:- if $status.mergedwith_array.size() > 0 { -:>
           <abbr title="merged">=</abbr>
           <:- } -:>
-          <:- if $status.fixed_versions.count > 0 { -:>
+          <:- if $status.fixed_versions.size() > 0 { -:>
           <abbr title="fixed versions">☺</abbr>
           <:- } -:>
-          <:- if $status.fixed_versions.count > 0 { -:>
+          <:- if $status.fixed_versions.size() > 0 { -:>
           <abbr title="fixed versions">☺</abbr>
           <:- } -:>
-          <:- if $status.blockedby_array.count > 0 { -:>
+          <:- if $status.blockedby_array.size() > 0 { -:>
           <abbr title="blocked by">♙</abbr>
           <:- } -:>
-          <:- if $status.blocks_array.count > 0 { -:>
+          <:- if $status.blocks_array.size() > 0 { -:>
           <abbr title="blocks">♔</abbr>
           <:- } -:>
           <:- if length($status.forwarded) { -:>