Skip to content

Commit

Permalink
Fix: Update beta logic and query to handle empty report_url
Browse files Browse the repository at this point in the history
  • Loading branch information
mreid-tt committed Jan 20, 2025
1 parent 5ea5735 commit af150aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spkrepo/views/nas.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ def get_catalog(arch, build, language, beta):
).select_from(Version)

if not beta:
latest_version = latest_version.filter(Version.report_url.is_(None))
latest_version = latest_version.filter(
db.or_(Version.report_url.is_(None), Version.report_url == "")
)

latest_version = (
latest_version.join(Build)
Expand Down

0 comments on commit af150aa

Please sign in to comment.