| |
@@ -5382,7 +5382,7 @@
|
| |
result = set(query.execute())
|
| |
candidate_buildroot_ids = result
|
| |
if not candidate_buildroot_ids:
|
| |
- return []
|
| |
+ return _applyQueryOpts([], queryOpts)
|
| |
|
| |
if archiveID is not None:
|
| |
joins.insert(0, 'buildroot_archives ON buildroot.id = buildroot_archives.buildroot_id')
|
| |
@@ -5396,7 +5396,7 @@
|
| |
else:
|
| |
candidate_buildroot_ids = result
|
| |
if not candidate_buildroot_ids:
|
| |
- return []
|
| |
+ return _applyQueryOpts([], queryOpts)
|
| |
|
| |
if taskID is not None:
|
| |
clauses.append('standard_buildroot.task_id = %(taskID)i')
|
| |
@@ -5409,7 +5409,7 @@
|
| |
else:
|
| |
candidate_buildroot_ids = result
|
| |
if not candidate_buildroot_ids:
|
| |
- return []
|
| |
+ return _applyQueryOpts([], queryOpts)
|
| |
|
| |
if candidate_buildroot_ids:
|
| |
candidate_buildroot_ids = list(candidate_buildroot_ids)
|
| |
Fixes: https://pagure.io/koji/issue/2302