]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1505762 - count_only=1 results in error with REST API
authorKohei Yoshino <kohei.yoshino@gmail.com>
Thu, 8 Nov 2018 18:49:22 +0000 (13:49 -0500)
committerDylan William Hardison <dylan@hardison.net>
Thu, 8 Nov 2018 18:49:22 +0000 (13:49 -0500)
Bugzilla/WebService/Bug.pm

index 5b867d7f8fadd6d74c4a91838c3b1be79f492ff8..b5704cb517b5eba1c81042b387a1bef5384d9bb6 100644 (file)
@@ -632,7 +632,7 @@ sub search {
             return $data;
         }
         else {
-            return { bug_count => $self->type('int', scalar @$data) };
+            return { bug_count => $self->type('int', $data) };
         }
     }