Show starred public repositories in the starred repos list

We forgot to check if the repository was public in the filter

Fixes https://jira.coreos.com/browse/QUAY-857
This commit is contained in:
Joseph Schorr 2018-05-31 17:34:17 -04:00
parent 9d30a0a216
commit 8ee98c1c48
4 changed files with 37 additions and 6 deletions

View file

@ -13,7 +13,7 @@ from data.database import (
Repository, Namespace, RepositoryTag, Star, Image, ImageStorage, User, Visibility, Tag,
RepositoryPermission, RepositoryActionCount, Role, RepositoryAuthorizedEmail, TagManifest,
DerivedStorageForImage, Label, TagManifestLabel, db_for_update, get_epoch_timestamp,
db_random_func, db_concat_func, RepositorySearchScore)
db_random_func, db_concat_func, RepositorySearchScore, RepositoryKind)
from data.text import prefix_search
from util.itertoolrecipes import take