From: Don Armstrong <don@donarmstrong.com>
Date: Thu, 11 Aug 2016 18:49:14 +0000 (-0700)
Subject: me.archived should be an AND not an OR
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=52d262bbeb30b727950bf143532460e6552469cf;p=debbugs.git

me.archived should be an AND not an OR
---

diff --git a/Debbugs/Bugs.pm b/Debbugs/Bugs.pm
index 8162bd30..6e579818 100644
--- a/Debbugs/Bugs.pm
+++ b/Debbugs/Bugs.pm
@@ -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();
 }