From: jouni%heikniemi.net <> Date: Sun, 30 May 2004 22:52:12 +0000 (+0000) Subject: Bug 223541: Make flags show up correctly in "View all attachments" mode. X-Git-Tag: bugzilla-2.18rc1~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90f6e932e23ec82dd31149a118661a91f51a5e90;p=thirdparty%2Fbugzilla.git Bug 223541: Make flags show up correctly in "View all attachments" mode. r=joel a=justdave --- diff --git a/attachment.cgi b/attachment.cgi index 83a910ee01..c1e8f9dd0f 100755 --- a/attachment.cgi +++ b/attachment.cgi @@ -768,6 +768,7 @@ sub viewall $a{'description'}, $a{'ispatch'}, $a{'isobsolete'}, $a{'isprivate'}, $a{'datasize'}) = FetchSQLData(); $a{'isviewable'} = isViewable($a{'contenttype'}); + $a{'flags'} = Bugzilla::Flag::match({ 'attach_id' => $a{'attachid'} }); # Add the hash representing the attachment to the array of attachments. push @attachments, \%a; diff --git a/template/en/default/attachment/show-multiple.html.tmpl b/template/en/default/attachment/show-multiple.html.tmpl index bcfae488dd..e7043a1420 100644 --- a/template/en/default/attachment/show-multiple.html.tmpl +++ b/template/en/default/attachment/show-multiple.html.tmpl @@ -61,11 +61,18 @@