From 76f0f3dfc85bb0988a0ee03058790772a278fdc6 Mon Sep 17 00:00:00 2001 From: Ben Allen <26507833+thekingofjibs@users.noreply.github.com> Date: Sun, 20 Nov 2022 13:58:10 +0000 Subject: [PATCH] fix non-public series appearing in breadcrumb --- services/public/breadcrumb.go | 1 + 1 file changed, 1 insertion(+) diff --git a/services/public/breadcrumb.go b/services/public/breadcrumb.go index a1bbe24..e84e781 100644 --- a/services/public/breadcrumb.go +++ b/services/public/breadcrumb.go @@ -68,6 +68,7 @@ func (m *Store) SeriesBreadcrumb(ctx context.Context, seriesID int) ([]Breadcrum video.series parent WHERE node.lft BETWEEN parent.lft AND parent.rgt + AND parent.status = 'public' AND node.series_id = $1 ORDER BY parent.lft;`, seriesID) if err != nil {