#2898 hub: fix SQL condition
Merged 2 years ago by tkopecek. Opened 2 years ago by tkopecek.
tkopecek/koji issue2897  into  master

file modified
+1 -2
@@ -1363,8 +1363,7 @@ 

          if not btype:

              raise koji.GenericError('unsupported build type: %s' % type)

          btype_id = btype['id']

-         joins += ['build_types ON build.id = build_types.build_id',

-                   'btype_id = %(btype_id)s']

+         joins += ['build_types ON build.id = build_types.build_id AND btype_id = %(btype_id)s']

  

      clauses = [

          eventCondition(event, 'tag_listing'),

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

2 years ago

Commit 5de61d4 fixes this pull-request

Pull-Request has been merged by tkopecek

2 years ago

Metadata Update from @mfilip:
- Pull-request tagged with: testing-done

2 years ago
Metadata