Skip to content

Commit

Permalink
fix non-public series appearing in breadcrumb
Browse files Browse the repository at this point in the history
  • Loading branch information
probablybenallen authored Nov 20, 2022
1 parent f09e99f commit 76f0f3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/public/breadcrumb.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 76f0f3d

Please sign in to comment.