Skip to content

Commit

Permalink
frontend: don't list temporary projects on main page
Browse files Browse the repository at this point in the history
  • Loading branch information
nikromen authored and praiskup committed May 31, 2023
1 parent fb60752 commit 9b933c6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/coprs_frontend/coprs/logic/coprs_logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@ def get_multiple(cls, include_deleted=False, include_unlisted_on_hp=True):
query = query.filter(models.Copr.deleted.is_(False))

if not include_unlisted_on_hp:
query = query.filter(models.Copr.unlisted_on_hp.is_(False))
query = (
query.filter(models.Copr.unlisted_on_hp.is_(False))
.filter(models.Copr.delete_after.is_(None))
)

return query

Expand Down

0 comments on commit 9b933c6

Please sign in to comment.