Fix number of packages without blocked
Fixes: https://pagure.io/koji/issue/3328
This commit is contained in:
parent
76e430ceb8
commit
507317d070
1 changed files with 3 additions and 2 deletions
|
|
@ -987,9 +987,10 @@ def taginfo(environ, tagID, all='0', packageOrder='package_name', packageStart=N
|
|||
|
||||
all = int(all)
|
||||
|
||||
numPackages = server.count('listPackages', tagID=tag['id'], inherited=True, with_owners=False)
|
||||
numPackages = server.count('listPackages', tagID=tag['id'], inherited=True, with_owners=False,
|
||||
with_blocked=False)
|
||||
numPackagesBlocked = server.count('listPackages', tagID=tag['id'], inherited=True,
|
||||
with_owners=False, with_blocked=True)
|
||||
with_owners=False)
|
||||
numBuilds = server.count('listTagged', tag=tag['id'], inherit=True)
|
||||
values['numPackages'] = numPackages
|
||||
values['numPackagesBlocked'] = numPackagesBlocked
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue