Skip to content

Commit 3c633ca

Browse files
authored
Merge pull request #59 from hlin/Fix-COMPOSE-3382
Use latest module record
2 parents c354142 + a892f23 commit 3c633ca

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

product_listings_manager/products.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ def get_module(compose_dbh, name, stream):
268268
FROM modules
269269
WHERE name = %(name)s
270270
AND stream = %(stream)s
271+
ORDER BY version DESC
271272
"""
272273
dbc = compose_dbh.cursor()
273274
Products.execute_query(dbc, qry, **qargs)

0 commit comments

Comments
 (0)