#2898 hub: fix SQL condition
Merged a year ago by tkopecek. Opened a year 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

a year ago

Commit 5de61d4 fixes this pull-request

Pull-Request has been merged by tkopecek

a year ago

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

11 months ago
Metadata