From 4991e7636d79d956ed56ac946ea04eba29eb860d Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Mon, 7 Aug 2017 13:48:31 -0700 Subject: [PATCH] BinAssociation is not plural --- bin/debbugs-updatesqlcache | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/debbugs-updatesqlcache b/bin/debbugs-updatesqlcache index d1948ba..8e57d4a 100755 --- a/bin/debbugs-updatesqlcache +++ b/bin/debbugs-updatesqlcache @@ -223,7 +223,7 @@ sub update_cache { # association modified push @bugs, map {$_->{'bug_binpackages.id'}} - $s->resultset('BinAssociations')-> + $s->resultset('BinAssociation')-> search_rs({'me.modified' => {'>=',$last_query_time}, }, {columns => [qw(bug_binpackages.id)], @@ -237,7 +237,7 @@ sub update_cache { # or a source association modified push @bugs, map {$_->{'bug_srcpackages.id'}} - $s->resultset('SrcAssociations')-> + $s->resultset('SrcAssociation')-> search_rs({'me.modified' => {'>=',$last_query_time}, }, {columns => [qw(bug_srcpackages.id)], -- 2.39.5