diff --git a/pages/quotes/best.go b/pages/quotes/best.go index 4ed46a77..f270b691 100644 --- a/pages/quotes/best.go +++ b/pages/quotes/best.go @@ -15,7 +15,7 @@ func Best(ctx *aero.Context) string { user := utils.GetUser(ctx) quotes := arn.FilterQuotes(func(track *arn.Quote) bool { - return !track.IsDraft && len(track.Text.English) > 0 + return !track.IsDraft }) arn.SortQuotesPopularFirst(quotes) @@ -41,7 +41,7 @@ func BestFrom(ctx *aero.Context) string { } allQuotes := arn.FilterQuotes(func(track *arn.Quote) bool { - return !track.IsDraft && len(track.Text.English) > 0 + return !track.IsDraft }) if index < 0 || index >= len(allQuotes) { diff --git a/pages/quotes/quotes.go b/pages/quotes/quotes.go index e53d8322..e65fa1d5 100644 --- a/pages/quotes/quotes.go +++ b/pages/quotes/quotes.go @@ -17,7 +17,7 @@ func Latest(ctx *aero.Context) string { user := utils.GetUser(ctx) quotes := arn.FilterQuotes(func(track *arn.Quote) bool { - return !track.IsDraft && len(track.Text.English) > 0 + return !track.IsDraft }) arn.SortQuotesLatestFirst(quotes) @@ -43,7 +43,7 @@ func LatestFrom(ctx *aero.Context) string { } allQuotes := arn.FilterQuotes(func(track *arn.Quote) bool { - return !track.IsDraft && len(track.Text.English) > 0 + return !track.IsDraft }) if index < 0 || index >= len(allQuotes) {