From 4a1fad75201fdeac6438f378a29518f2d9db814a Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Thu, 13 Apr 2017 19:29:38 -0400 Subject: [PATCH] Make sure to filter hidden tags from the active tags query --- data/model/tag.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/model/tag.py b/data/model/tag.py index 650b41589..acd878d01 100644 --- a/data/model/tag.py +++ b/data/model/tag.py @@ -102,7 +102,7 @@ def list_active_repo_tags(repo): query = _tag_alive(RepositoryTag .select(RepositoryTag, Image, TagManifest.digest) .join(Image) - .where(RepositoryTag.repository == repo) + .where(RepositoryTag.repository == repo, RepositoryTag.hidden == False) .switch(RepositoryTag) .join(TagManifest, JOIN_LEFT_OUTER))