Skip to content

Commit

Permalink
Use latest module record
Browse files Browse the repository at this point in the history
JIRA: COMPOSE-3382
  • Loading branch information
hlin committed Mar 18, 2019
1 parent c354142 commit a892f23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions product_listings_manager/products.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ def get_module(compose_dbh, name, stream):
FROM modules
WHERE name = %(name)s
AND stream = %(stream)s
ORDER BY version DESC
"""
dbc = compose_dbh.cursor()
Products.execute_query(dbc, qry, **qargs)
Expand Down

0 comments on commit a892f23

Please sign in to comment.