]> git.donarmstrong.com Git - debbugs.git/commitdiff
me.archived should be an AND not an OR
authorDon Armstrong <don@donarmstrong.com>
Thu, 11 Aug 2016 18:49:14 +0000 (11:49 -0700)
committerDon Armstrong <don@donarmstrong.com>
Thu, 11 Aug 2016 18:49:14 +0000 (11:49 -0700)
Debbugs/Bugs.pm

index 8162bd301b846d9f7cc5eb2ae7f26307bfecc7e7..6e579818288262e63445fce3c057e2a84facf49a 100644 (file)
@@ -582,7 +582,7 @@ sub get_bugs_by_db{
      }
      # handle archive
      if (defined $param{archive} and $param{archive} ne 'both') {
-         $rs = $rs->search({'me.archived' => $param{archive}})
+         $rs = $rs->search(['me.archived' => $param{archive}]);
      }
      return $rs->get_column('id')->all();
 }